Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008886/0.0008886, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 278.1 kB / 291.4 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9444/0.9444, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 14.53 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4442/0.585, allocations: 165.3 MB / 0.8459 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005218/0.5902, allocations: 4.17 MB / 0.85 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.5907, allocations: 19.5 kB / 0.85 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.5912, allocations: 174.6 kB / 0.8502 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.5925, allocations: 0.5783 MB / 0.8507 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.595, allocations: 1.053 MB / 0.8518 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.5963, allocations: 1.447 MB / 0.8532 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.5968, allocations: 346.6 kB / 0.8535 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.5976, allocations: 0.5111 MB / 0.854 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.598, allocations: 394.9 kB / 0.8544 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.5981, allocations: 30.88 kB / 0.8544 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5997, allocations: 0.7798 MB / 0.8552 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.5998, allocations: 160.1 kB / 0.8553 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.6, allocations: 134.2 kB / 0.8554 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008193/0.6008, allocations: 0.775 MB / 0.8562 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6008, allocations: 0 / 0.8562 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6008, allocations: 0 / 0.8562 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.6008, allocations: 0 / 0.8562 GB, free: 10.36 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001397/0.6022, allocations: 0.9344 MB / 0.8571 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6023, allocations: 10.88 kB / 0.8571 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.6041, allocations: 278.8 kB / 0.8574 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.6048, allocations: 436.3 kB / 0.8578 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.6049, allocations: 33.06 kB / 0.8578 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.6049, allocations: 43.39 kB / 0.8579 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.6059, allocations: 0.5595 MB / 0.8584 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6059, allocations: 3.938 kB / 0.8584 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.606, allocations: 16.75 kB / 0.8584 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.606, allocations: 12.72 kB / 0.8585 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.607, allocations: 492.3 kB / 0.8589 GB, free: 8.457 MB / 0.5762 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.002323/0.6093, allocations: 2.128 MB / 0.861 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.6102, allocations: 428.9 kB / 0.8614 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.6107, allocations: 249.4 kB / 0.8617 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/0.6114, allocations: 412.1 kB / 0.862 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.612, allocations: 306.1 kB / 0.8623 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/0.612, allocations: 4 kB / 0.8623 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001686/0.6137, allocations: 0.7332 MB / 0.8631 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6137, allocations: 56.28 kB / 0.8631 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.6143, allocations: 494.7 kB / 0.8636 GB, free: 5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.6143, allocations: 36.55 kB / 0.8636 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.6145, allocations: 257.9 kB / 0.8639 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6146, allocations: 128 kB / 0.864 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.6147, allocations: 10.88 kB / 0.864 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6148, allocations: 368.9 kB / 0.8643 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.6153, allocations: 209.9 kB / 0.8645 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.6158, allocations: 331 kB / 0.8649 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.6163, allocations: 291.9 kB / 0.8651 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6163, allocations: 0 / 0.8651 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001221/0.6176, allocations: 0.6835 MB / 0.8658 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.6176, allocations: 59.38 kB / 0.8659 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6176, allocations: 6.844 kB / 0.8659 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6177, allocations: 4.625 kB / 0.8659 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.6181, allocations: 109.3 kB / 0.866 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6181, allocations: 6.156 kB / 0.866 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.6186, allocations: 94.5 kB / 0.8661 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.6187, allocations: 24.66 kB / 0.8661 GB, free: 3.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.6189, allocations: 195.6 kB / 0.8663 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.619, allocations: 58.98 kB / 0.8663 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.6201, allocations: 0.5691 MB / 0.8669 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.6201, allocations: 2.562 kB / 0.8669 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6202, allocations: 0 / 0.8669 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.6202, allocations: 6.609 kB / 0.8669 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.6222, allocations: 1.373 MB / 0.8682 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6222, allocations: 2.875 kB / 0.8683 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.6226, allocations: 87.22 kB / 0.8683 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6226, allocations: 5 kB / 0.8683 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.6227, allocations: 14.25 kB / 0.8684 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.6227, allocations: 13.06 kB / 0.8684 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6227, allocations: 5.656 kB / 0.8684 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.6243, allocations: 0.9872 MB / 0.8693 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.6245, allocations: 178.5 kB / 0.8695 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.6246, allocations: 13.16 kB / 0.8695 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.625, allocations: 53.33 kB / 0.8696 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.6252, allocations: 50.7 kB / 0.8696 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.6252, allocations: 18.86 kB / 0.8696 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000367/0.6256, allocations: 338.8 kB / 0.87 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6256, allocations: 0 / 0.87 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00052/0.6261, allocations: 148.8 kB / 0.8701 GB, free: 0.6406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000392/0.6265, allocations: 204.7 kB / 0.8703 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.6276, allocations: 0.6115 MB / 0.8709 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6277, allocations: 2.562 kB / 0.8709 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.6283, allocations: 300.2 kB / 0.8712 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6297, allocations: 283.6 kB / 0.8715 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.6314, allocations: 1.227 MB / 0.8726 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.6319, allocations: 0.8668 MB / 0.8735 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000542/0.6324, allocations: 128.7 kB / 0.8736 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.6326, allocations: 39.44 kB / 0.8737 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.6326, allocations: 3.938 kB / 0.8737 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.01684/0.6494, allocations: 9.84 MB / 0.8833 GB, free: 4.188 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)