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.001294/0.001294, allocations: 109.9 kB / 16.41 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.001205/0.001205, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.3/1.3, allocations: 222.9 MB / 241 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.002003/0.002003, allocations: 289.6 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.9292/0.9292, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.00188, allocations: 96.08 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3992, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002933/0.4022, allocations: 1.836 MB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.4033, allocations: 0.6896 MB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4035, allocations: 0 / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.4037, allocations: 31.77 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.4039, allocations: 63.61 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.4041, allocations: 59.91 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.4045, allocations: 279.1 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.4047, allocations: 56.73 kB / 0.77 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.4049, allocations: 103.8 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.4051, allocations: 119.6 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.4051, allocations: 16 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.4052, allocations: 23.94 kB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.4052, allocations: 51.88 kB / 0.7703 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4054, allocations: 103.5 kB / 0.7704 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4056, allocations: 237.8 kB / 0.7706 GB, free: 300 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4056, allocations: 4 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4056, allocations: 0 / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4057, allocations: 0 / 0.7706 GB, free: 296 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.0008764/0.4065, allocations: 0.5394 MB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.4066, allocations: 8.031 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.4066, allocations: 20.75 kB / 0.7711 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.4069, allocations: 224.1 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4069, allocations: 12.38 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.4069, allocations: 16.38 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.4073, allocations: 206.6 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4073, allocations: 0 / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4073, allocations: 11.97 kB / 0.7716 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4074, allocations: 4 kB / 0.7716 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.4076, allocations: 122.4 kB / 0.7717 GB, free: 15.03 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.001111/0.4087, allocations: 1.002 MB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.4094, allocations: 210.4 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4095, allocations: 72.8 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4096, allocations: 4 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4096, allocations: 30.56 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4096, allocations: 0 / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004543/0.4101, allocations: 237.5 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4101, allocations: 55.41 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.4103, allocations: 223.5 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4103, allocations: 25.7 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.4104, allocations: 136 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4105, allocations: 35.53 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.4106, allocations: 57.7 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4107, allocations: 330.8 kB / 0.774 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.4109, allocations: 155.9 kB / 0.7742 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4111, allocations: 209 kB / 0.7744 GB, free: 12.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.413, allocations: 0.8954 MB / 0.7753 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.413, allocations: 0 / 0.7753 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007585/0.4137, allocations: 0.495 MB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.4138, allocations: 61.67 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4138, allocations: 0 / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4139, allocations: 4 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4141, allocations: 48.12 kB / 0.7759 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4141, allocations: 11.88 kB / 0.7759 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4143, allocations: 31.67 kB / 0.7759 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.4144, allocations: 16 kB / 0.7759 GB, free: 10.45 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.0002291/0.4146, allocations: 166.5 kB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.4146, allocations: 15.8 kB / 0.7761 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.4147, allocations: 25.39 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4147, allocations: 0 / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4147, allocations: 0 / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4147, allocations: 3.938 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.415, allocations: 241.4 kB / 0.7763 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.415, allocations: 4 kB / 0.7764 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.4152, allocations: 35.97 kB / 0.7764 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4152, allocations: 0 / 0.7764 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4153, allocations: 0 / 0.7764 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4153, allocations: 0 / 0.7764 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4153, allocations: 4 kB / 0.7764 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.4157, allocations: 351.5 kB / 0.7767 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.4158, allocations: 92.98 kB / 0.7768 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4158, allocations: 0 / 0.7768 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4159, allocations: 7.984 kB / 0.7768 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.416, allocations: 7.938 kB / 0.7768 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.416, allocations: 7.984 kB / 0.7768 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001177/0.4161, allocations: 148.6 kB / 0.777 GB, free: 9.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4161, allocations: 0 / 0.777 GB, free: 9.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003009/0.4164, allocations: 59.94 kB / 0.777 GB, free: 9.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001039/0.4166, allocations: 107.3 kB / 0.7771 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006771/0.4172, allocations: 0.6046 MB / 0.7777 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4173, allocations: 0 / 0.7777 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4174, allocations: 75.89 kB / 0.7778 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.4177, allocations: 41.84 kB / 0.7778 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4188, allocations: 0.7117 MB / 0.7785 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4191, allocations: 0.7436 MB / 0.7793 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.4192, allocations: 15.44 kB / 0.7793 GB, free: 6.836 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4192, allocations: 0 / 0.7793 GB, free: 6.836 MB / 0.545 GB Notification: Performance of Templates: time 0.004416/0.4236, allocations: 2.57 MB / 0.7818 GB, free: 4.277 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)