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.00111/0.00111, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001135/0.001135, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.8 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.9294/0.9294, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003355/0.003355, allocations: 92.09 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3792, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003757/0.383, allocations: 2.906 MB / 0.7699 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3841, allocations: 0.7012 MB / 0.7706 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.3843, allocations: 11.94 kB / 0.7706 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.3845, allocations: 71.45 kB / 0.7706 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.3848, allocations: 119 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.3849, allocations: 55.84 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.3853, allocations: 370.1 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.3855, allocations: 107.5 kB / 0.7713 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.3857, allocations: 143.4 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.3859, allocations: 139.3 kB / 0.7715 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.386, allocations: 24 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.386, allocations: 24 kB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.3861, allocations: 67.69 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3862, allocations: 163.2 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3865, allocations: 313.4 kB / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3865, allocations: 0 / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3865, allocations: 0 / 0.7721 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3865, allocations: 0 / 0.7721 GB, free: 14.75 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.0007453/0.3873, allocations: 0.5846 MB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3873, allocations: 12.03 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.3874, allocations: 32.56 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3877, allocations: 280.3 kB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3877, allocations: 20.94 kB / 0.773 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.3878, allocations: 24.38 kB / 0.773 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.3882, allocations: 237.2 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3882, allocations: 0 / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.3882, allocations: 15.94 kB / 0.7733 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3882, allocations: 4 kB / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.3886, allocations: 198.1 kB / 0.7734 GB, free: 13.27 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.001446/0.3901, allocations: 1.293 MB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.3909, allocations: 269.3 kB / 0.775 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.391, allocations: 60.84 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.391, allocations: 4 kB / 0.775 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.391, allocations: 38.55 kB / 0.7751 GB, free: 11.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3911, allocations: 0 / 0.7751 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001099/0.3922, allocations: 0.6377 MB / 0.7757 GB, free: 10.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3922, allocations: 59.39 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.3924, allocations: 283.5 kB / 0.776 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3925, allocations: 29.7 kB / 0.776 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3926, allocations: 223.2 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.3927, allocations: 63.11 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.3927, allocations: 69.59 kB / 0.7764 GB, free: 9.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3929, allocations: 338.8 kB / 0.7767 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.393, allocations: 76.34 kB / 0.7768 GB, free: 9.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3932, allocations: 190.2 kB / 0.777 GB, free: 9.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3943, allocations: 0.4894 MB / 0.7774 GB, free: 8.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3943, allocations: 0 / 0.7774 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006908/0.395, allocations: 416.4 kB / 0.7778 GB, free: 8.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.395, allocations: 15.92 kB / 0.7778 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3951, allocations: 4 kB / 0.7779 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.3953, allocations: 83.61 kB / 0.7779 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3956, allocations: 75.84 kB / 0.778 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.399, allocations: 5.522 MB / 0.7834 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3992, allocations: 43.69 kB / 0.7834 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3993, allocations: 16 kB / 0.7835 GB, free: 2.004 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.0002267/0.3995, allocations: 178.1 kB / 0.7836 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3996, allocations: 27.66 kB / 0.7836 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.3996, allocations: 38.23 kB / 0.7837 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3997, allocations: 0 / 0.7837 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3997, allocations: 0 / 0.7837 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.3997, allocations: 104.7 kB / 0.7838 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3998, allocations: 8 kB / 0.7838 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3999, allocations: 3.984 kB / 0.7838 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4, allocations: 11.98 kB / 0.7838 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008434/0.4008, allocations: 367.3 kB / 0.7842 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004646/0.4013, allocations: 430.3 kB / 0.7846 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001133/0.4014, allocations: 59.91 kB / 0.7846 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001835/0.4016, allocations: 190 kB / 0.7848 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of Backend: time 5.51e-07/0.4016, allocations: 0 / 0.7848 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009623/0.4026, allocations: 0.6922 MB / 0.7855 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00123/0.4038, allocations: 1.287 MB / 0.7867 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.007215/0.4111, allocations: 3.676 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)