Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 110.4 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.001019/0.001019, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.273/1.273, allocations: 222.9 MB / 241 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.002132/0.002132, allocations: 289.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3585, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003539/0.3621, allocations: 2.914 MB / 0.7699 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.363, allocations: 0.6972 MB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3631, allocations: 11.94 kB / 0.7706 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.3633, allocations: 75.41 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3635, allocations: 123 kB / 0.7707 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.3637, allocations: 47.92 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.364, allocations: 378 kB / 0.7712 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.3642, allocations: 103.5 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3643, allocations: 143.5 kB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3645, allocations: 143.3 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.3646, allocations: 27.94 kB / 0.7716 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.3646, allocations: 24 kB / 0.7716 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.3647, allocations: 59.77 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3648, allocations: 155.2 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3651, allocations: 317.5 kB / 0.7721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3651, allocations: 4 kB / 0.7721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3651, allocations: 0 / 0.7721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3651, allocations: 3.938 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007189/0.3659, allocations: 0.5768 MB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3659, allocations: 12.03 kB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.366, allocations: 32.56 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3662, allocations: 284.3 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3662, allocations: 16.94 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.3663, allocations: 28.38 kB / 0.773 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.3667, allocations: 241.1 kB / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3667, allocations: 0 / 0.7732 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3668, allocations: 15.94 kB / 0.7733 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3668, allocations: 4 kB / 0.7733 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3671, allocations: 190.2 kB / 0.7734 GB, free: 13.26 MB / 0.545 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.00143/0.3686, allocations: 1.297 MB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.3694, allocations: 258.4 kB / 0.775 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3695, allocations: 64.84 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.3695, allocations: 3.984 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3695, allocations: 34.56 kB / 0.7751 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.3696, allocations: 0 / 0.7751 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001117/0.3707, allocations: 0.6416 MB / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.3707, allocations: 59.33 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.371, allocations: 287.5 kB / 0.776 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.371, allocations: 29.7 kB / 0.776 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3711, allocations: 215.3 kB / 0.7762 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.3712, allocations: 63.11 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.3713, allocations: 73.59 kB / 0.7764 GB, free: 9.938 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3714, allocations: 338.8 kB / 0.7767 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3716, allocations: 72.34 kB / 0.7768 GB, free: 9.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3718, allocations: 193.5 kB / 0.777 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3728, allocations: 0.4894 MB / 0.7774 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3728, allocations: 0 / 0.7774 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006756/0.3735, allocations: 412.7 kB / 0.7778 GB, free: 8.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3735, allocations: 15.92 kB / 0.7778 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3735, allocations: 4 kB / 0.7778 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.3738, allocations: 91.33 kB / 0.7779 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3741, allocations: 71.91 kB / 0.778 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.3775, allocations: 5.53 MB / 0.7834 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3777, allocations: 39.53 kB / 0.7834 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.3778, allocations: 16 kB / 0.7834 GB, free: 1.996 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.378, allocations: 174.3 kB / 0.7836 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.3781, allocations: 31.66 kB / 0.7836 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.3781, allocations: 34.23 kB / 0.7837 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3782, allocations: 4 kB / 0.7837 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3782, allocations: 4 kB / 0.7837 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.3782, allocations: 100.7 kB / 0.7838 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3783, allocations: 4 kB / 0.7838 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3784, allocations: 11.98 kB / 0.7838 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3785, allocations: 11.98 kB / 0.7838 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008547/0.3793, allocations: 367.9 kB / 0.7842 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004752/0.3798, allocations: 426.4 kB / 0.7846 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.3799, allocations: 59.14 kB / 0.7846 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001607/0.3801, allocations: 194 kB / 0.7848 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of Backend: time 3.01e-07/0.3801, allocations: 0 / 0.7848 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009436/0.3811, allocations: 0.6922 MB / 0.7855 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001227/0.3823, allocations: 1.282 MB / 0.7867 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.0069/0.3892, allocations: 3.667 MB / 0.7903 GB, free: 10.82 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)