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.00111/0.001111, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001717/0.001717, allocations: 187.8 kB / 17.35 MB, free: 5.762 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.328/1.328, 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.00209/0.00209, allocations: 296.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9677/0.9677, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 91.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4727, allocations: 86.99 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Dampers.Examples.Damper): time 0.1923/0.665, allocations: 182.1 MB / 0.9449 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009041/0.6741, allocations: 5.78 MB / 0.9505 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009574/0.6751, allocations: 23.88 kB / 0.9505 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.6763, allocations: 488.8 kB / 0.951 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.6798, allocations: 1.604 MB / 0.9526 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.6848, allocations: 2.074 MB / 0.9546 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6881, allocations: 3.072 MB / 0.9576 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5286/1.217, allocations: 1.134 MB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/1.221, allocations: 1.303 MB / 0.96 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00386/1.225, allocations: 2.092 MB / 0.962 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008474/1.226, allocations: 271.3 kB / 0.9623 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/1.23, allocations: 1.853 MB / 0.9641 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.231, allocations: 0.9674 MB / 0.965 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/1.233, allocations: 1.241 MB / 0.9663 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006072/1.239, allocations: 3.948 MB / 0.9701 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/1.239, allocations: 0 / 0.9701 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.425e-06/1.239, allocations: 1 kB / 0.9701 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.379e-05/1.239, allocations: 0 / 0.9701 GB, free: 3.523 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.009008/1.248, allocations: 3.009 MB / 0.973 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.248, allocations: 9.688 kB / 0.9731 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/1.251, allocations: 322.3 kB / 0.9734 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/1.255, allocations: 2.252 MB / 0.9756 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/1.255, allocations: 70.06 kB / 0.9756 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/1.255, allocations: 93.84 kB / 0.9757 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.257, allocations: 1.222 MB / 0.9769 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.257, allocations: 2.125 kB / 0.9769 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/1.257, allocations: 33.34 kB / 0.9769 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.257, allocations: 20.62 kB / 0.977 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/1.259, allocations: 1.381 MB / 0.9783 GB, free: 17.54 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.01205/1.271, allocations: 6.527 MB / 0.9847 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/1.273, allocations: 1.236 MB / 0.9859 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009242/1.274, allocations: 0.6203 MB / 0.9865 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/1.275, allocations: 452.3 kB / 0.9869 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.275, allocations: 38.41 kB / 0.987 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.796e-06/1.275, allocations: 4.844 kB / 0.987 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.005221/1.28, allocations: 2.151 MB / 0.9891 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.28, allocations: 57.91 kB / 0.9891 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.285, allocations: 3.112 MB / 0.9922 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007607/1.285, allocations: 52.77 kB / 0.9922 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006209/1.286, allocations: 0.6884 MB / 0.9929 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/1.286, allocations: 193.9 kB / 0.9931 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009292/1.287, allocations: 404.3 kB / 0.9935 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.287, allocations: 305.5 kB / 0.9938 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/1.291, allocations: 2.42 MB / 0.9961 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/1.295, allocations: 2.872 MB / 0.9989 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/1.299, allocations: 3.338 MB / 1.002 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.299, allocations: 0 / 1.002 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00892/1.308, allocations: 4.88 MB / 1.007 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.308, allocations: 6.719 kB / 1.007 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.308, allocations: 7.281 kB / 1.007 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/1.309, allocations: 141.8 kB / 1.007 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.311, allocations: 250.9 kB / 1.007 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009963/1.312, allocations: 1.212 MB / 1.009 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/1.315, allocations: 306.6 kB / 1.009 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/1.315, allocations: 52.84 kB / 1.009 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004326/1.319, allocations: 2.735 MB / 1.012 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004151/1.324, allocations: 2.87 MB / 1.014 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004374/1.328, allocations: 3.312 MB / 1.018 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/1.328, allocations: 0 / 1.018 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.008212/1.336, allocations: 4.839 MB / 1.022 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.336, allocations: 12.78 kB / 1.022 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/1.336, allocations: 8 kB / 1.022 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.336, allocations: 8.875 kB / 1.022 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.338, allocations: 253.8 kB / 1.023 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.338, allocations: 11.52 kB / 1.023 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.341, allocations: 285.6 kB / 1.023 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/1.342, allocations: 49.36 kB / 1.023 GB, free: 8.957 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.0005797/1.342, allocations: 279.1 kB / 1.023 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/1.343, allocations: 173.6 kB / 1.023 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/1.346, allocations: 1.587 MB / 1.025 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.346, allocations: 5.734 kB / 1.025 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.346, allocations: 0 / 1.025 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/1.347, allocations: 454 kB / 1.025 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/1.347, allocations: 15.12 kB / 1.025 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.348, allocations: 72.48 kB / 1.025 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/1.348, allocations: 42.62 kB / 1.025 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00315/1.352, allocations: 1.501 MB / 1.027 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004043/1.356, allocations: 2.479 MB / 1.029 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001036/1.357, allocations: 0.6208 MB / 1.03 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00323/1.36, allocations: 2.224 MB / 1.032 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of Backend: time 1.914e-06/1.36, allocations: 0 / 1.032 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.373, allocations: 6.333 MB / 1.038 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of SimCode: time 0.00616/1.379, allocations: 3.329 MB / 1.042 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of Templates: time 0.09429/1.473, allocations: 62.9 MB / 1.103 GB, free: 9.988 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)