Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108.3 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 189.5 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 291.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.973/0.973, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4828, allocations: 86.98 MB / 0.767 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper): time 0.2009/0.6838, allocations: 182.1 MB / 0.9449 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009248/0.6931, allocations: 5.775 MB / 0.9505 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.6943, allocations: 27.81 kB / 0.9505 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.6956, allocations: 476.8 kB / 0.951 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.6996, allocations: 1.555 MB / 0.9525 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.7049, allocations: 2.066 MB / 0.9545 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.7092, allocations: 3.067 MB / 0.9575 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5659/1.275, allocations: 1.135 MB / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/1.279, allocations: 1.292 MB / 0.9599 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004684/1.284, allocations: 2.092 MB / 0.9619 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001868/1.286, allocations: 276 kB / 0.9622 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00597/1.292, allocations: 1.848 MB / 0.964 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002094/1.294, allocations: 0.9662 MB / 0.965 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002879/1.297, allocations: 1.235 MB / 0.9662 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008453/1.305, allocations: 3.945 MB / 0.97 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.305, allocations: 0 / 0.97 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/1.305, allocations: 0.9062 kB / 0.97 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001051/1.305, allocations: 3.188 kB / 0.97 GB, free: 3.586 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.01141/1.317, allocations: 3.01 MB / 0.973 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.046e-05/1.317, allocations: 8.938 kB / 0.973 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/1.32, allocations: 326 kB / 0.9733 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/1.324, allocations: 2.242 MB / 0.9755 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/1.324, allocations: 69.62 kB / 0.9755 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/1.324, allocations: 98.02 kB / 0.9756 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.326, allocations: 1.228 MB / 0.9768 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/1.326, allocations: 3.938 kB / 0.9768 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/1.326, allocations: 28.56 kB / 0.9769 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/1.326, allocations: 16.41 kB / 0.9769 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/1.329, allocations: 1.384 MB / 0.9782 GB, free: 17.61 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/1.343, allocations: 6.531 MB / 0.9846 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/1.346, allocations: 1.241 MB / 0.9858 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.347, allocations: 0.6195 MB / 0.9864 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/1.348, allocations: 449.8 kB / 0.9869 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.348, allocations: 38.69 kB / 0.9869 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 3.506e-06/1.348, allocations: 0.75 kB / 0.9869 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.006048/1.354, allocations: 2.156 MB / 0.989 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.354, allocations: 62.28 kB / 0.9891 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/1.36, allocations: 3.108 MB / 0.9921 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/1.362, allocations: 49.72 kB / 0.9921 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.363, allocations: 0.6907 MB / 0.9928 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/1.363, allocations: 193.7 kB / 0.993 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/1.366, allocations: 403 kB / 0.9934 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.366, allocations: 302.1 kB / 0.9937 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.371, allocations: 2.416 MB / 0.996 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/1.376, allocations: 2.875 MB / 0.9988 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006557/1.382, allocations: 3.332 MB / 1.002 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/1.382, allocations: 2.781 kB / 1.002 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01409/1.396, allocations: 4.883 MB / 1.007 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.396, allocations: 9.188 kB / 1.007 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/1.397, allocations: 5 kB / 1.007 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/1.397, allocations: 141.3 kB / 1.007 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.4, allocations: 251.2 kB / 1.007 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/1.401, allocations: 1.212 MB / 1.008 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/1.405, allocations: 312.2 kB / 1.009 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007235/1.406, allocations: 51.05 kB / 1.009 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006011/1.412, allocations: 2.733 MB / 1.011 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004799/1.417, allocations: 2.871 MB / 1.014 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005366/1.422, allocations: 3.313 MB / 1.017 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.371e-05/1.422, allocations: 3.844 kB / 1.017 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.01146/1.434, allocations: 4.842 MB / 1.022 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.434, allocations: 11.94 kB / 1.022 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.434, allocations: 4.906 kB / 1.022 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.434, allocations: 12 kB / 1.022 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.436, allocations: 250.8 kB / 1.022 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/1.436, allocations: 14.52 kB / 1.022 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.44, allocations: 279.6 kB / 1.023 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/1.441, allocations: 56.91 kB / 1.023 GB, free: 9.141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preInd.idx_sorted[13],preInd.idx_sorted[12],preInd.idx_sorted[11],preInd.idx_sorted[10],preInd.idx_sorted[9],preInd.idx_sorted[8],preInd.idx_sorted[7],preInd.idx_sorted[6],preInd.idx_sorted[5],preInd.idx_sorted[4],preInd.idx_sorted[3],preInd.idx_sorted[2],preInd.idx_sorted[1],preIndFrom_dp.idx_sorted[13],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[13],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 112 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.442, allocations: 266.8 kB / 1.023 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.443, allocations: 172.7 kB / 1.023 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/1.447, allocations: 1.596 MB / 1.025 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.447, allocations: 7.312 kB / 1.025 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.447, allocations: 0 / 1.025 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.448, allocations: 441.4 kB / 1.025 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008568/1.449, allocations: 12.81 kB / 1.025 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.451, allocations: 77.34 kB / 1.025 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.451, allocations: 46.78 kB / 1.025 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003369/1.454, allocations: 1.504 MB / 1.027 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004538/1.459, allocations: 2.482 MB / 1.029 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001072/1.46, allocations: 0.6131 MB / 1.03 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00454/1.465, allocations: 2.221 MB / 1.032 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of Backend: time 1.062e-06/1.465, allocations: 0 / 1.032 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01828/1.483, allocations: 6.337 MB / 1.038 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of SimCode: time 0.008746/1.492, allocations: 3.339 MB / 1.041 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of Templates: time 0.109/1.601, allocations: 62.9 MB / 1.103 GB, free: 10.32 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)