Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 109.3 kB / 16.41 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.001074/0.001074, allocations: 189.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.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 282 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.9287/0.9287, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 91.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3715, allocations: 86.98 MB / 0.767 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002771/0.3743, allocations: 1.832 MB / 0.7688 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3754, allocations: 0.6935 MB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.3755, allocations: 0 / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3757, allocations: 35.77 kB / 0.7695 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.376, allocations: 67.61 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3762, allocations: 59.89 kB / 0.7696 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.3765, allocations: 271.2 kB / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3767, allocations: 60.73 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3769, allocations: 107.7 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3771, allocations: 107.6 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.3771, allocations: 16 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.3772, allocations: 20 kB / 0.7702 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.3773, allocations: 55.81 kB / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3774, allocations: 107.5 kB / 0.7704 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3776, allocations: 241.8 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3777, allocations: 8 kB / 0.7706 GB, free: 108 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3777, allocations: 0 / 0.7706 GB, free: 108 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3777, allocations: 0 / 0.7706 GB, free: 108 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008294/0.3785, allocations: 0.5355 MB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3785, allocations: 12.03 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.3786, allocations: 20.73 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3789, allocations: 224.1 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3789, allocations: 8.375 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.3789, allocations: 16.38 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3793, allocations: 206.7 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3793, allocations: 0 / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3793, allocations: 4 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3793, allocations: 4 kB / 0.7716 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3796, allocations: 122.4 kB / 0.7717 GB, free: 14.86 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.001102/0.3807, allocations: 1.006 MB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.3814, allocations: 218.3 kB / 0.7729 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3816, allocations: 68.8 kB / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3816, allocations: 0 / 0.773 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.3816, allocations: 42.56 kB / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3816, allocations: 0 / 0.773 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004631/0.3821, allocations: 221.4 kB / 0.7732 GB, free: 13.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.3821, allocations: 55.41 kB / 0.7733 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3823, allocations: 223.5 kB / 0.7735 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3824, allocations: 33.64 kB / 0.7735 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.3825, allocations: 140.2 kB / 0.7736 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3825, allocations: 35.55 kB / 0.7737 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.3826, allocations: 57.69 kB / 0.7737 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3827, allocations: 330.8 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.3829, allocations: 151.9 kB / 0.7742 GB, free: 12.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3832, allocations: 212.1 kB / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.3849, allocations: 0.89 MB / 0.7753 GB, free: 10.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3849, allocations: 3.938 kB / 0.7753 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006816/0.3856, allocations: 0.4912 MB / 0.7758 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.3857, allocations: 65.67 kB / 0.7758 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3857, allocations: 4 kB / 0.7758 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3857, allocations: 0 / 0.7758 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.386, allocations: 51.91 kB / 0.7759 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.386, allocations: 0 / 0.7759 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3862, allocations: 35.67 kB / 0.7759 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3862, allocations: 8 kB / 0.7759 GB, free: 10.28 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.3864, allocations: 185.1 kB / 0.7761 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3865, allocations: 19.81 kB / 0.7761 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.3865, allocations: 25.39 kB / 0.7761 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3866, allocations: 0 / 0.7761 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3866, allocations: 3.984 kB / 0.7761 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3866, allocations: 88.92 kB / 0.7762 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.3867, allocations: 11.92 kB / 0.7762 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3868, allocations: 0 / 0.7762 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3868, allocations: 15.92 kB / 0.7762 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008008/0.3877, allocations: 336.6 kB / 0.7766 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005115/0.3882, allocations: 446.4 kB / 0.777 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001337/0.3883, allocations: 72.59 kB / 0.7771 GB, free: 9.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3884, allocations: 152.6 kB / 0.7772 GB, free: 8.902 MB / 0.545 GB Notification: Performance of Backend: time 7.51e-07/0.3885, allocations: 0 / 0.7772 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008818/0.3893, allocations: 0.6338 MB / 0.7778 GB, free: 8.254 MB / 0.545 GB Notification: Performance of SimCode: time 0.001073/0.3904, allocations: 1.082 MB / 0.7789 GB, free: 7.129 MB / 0.545 GB Notification: Performance of Templates: time 0.005511/0.3959, allocations: 2.8 MB / 0.7816 GB, free: 4.344 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)