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.001249/0.001249, allocations: 105.9 kB / 15.98 MB, free: 6.355 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.001351/0.001351, allocations: 196.9 kB / 16.91 MB, free: 6.199 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.244/1.244, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 282.1 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 169.2 MB / 0.4985 GB, free: 4.676 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 90.89 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1648, allocations: 86.98 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4975/0.6623, allocations: 179.4 MB / 0.8555 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.668, allocations: 4.421 MB / 0.8598 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.6686, allocations: 15.88 kB / 0.8598 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.6692, allocations: 206.8 kB / 0.86 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.671, allocations: 0.7039 MB / 0.8607 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.6743, allocations: 1.419 MB / 0.8621 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.6758, allocations: 1.258 MB / 0.8633 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005632/0.6764, allocations: 425.3 kB / 0.8637 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/0.6773, allocations: 0.5799 MB / 0.8643 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.6778, allocations: 434.2 kB / 0.8647 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.6779, allocations: 44 kB / 0.8647 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.6803, allocations: 1.601 MB / 0.8663 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.6806, allocations: 195.4 kB / 0.8665 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.6809, allocations: 302.5 kB / 0.8668 GB, free: 424 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.6822, allocations: 0.9161 MB / 0.8677 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6822, allocations: 0 / 0.8677 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6822, allocations: 0 / 0.8677 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6823, allocations: 0 / 0.8677 GB, free: 15.5 MB / 0.6387 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.001658/0.6839, allocations: 1.022 MB / 0.8687 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.684, allocations: 8.031 kB / 0.8687 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.686, allocations: 286.9 kB / 0.8689 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.6867, allocations: 441.5 kB / 0.8694 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.6867, allocations: 33 kB / 0.8694 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/0.6868, allocations: 43.91 kB / 0.8694 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009524/0.6878, allocations: 0.5468 MB / 0.87 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6878, allocations: 0 / 0.87 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.6878, allocations: 23.98 kB / 0.87 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.6878, allocations: 15.94 kB / 0.87 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.6888, allocations: 451.6 kB / 0.8704 GB, free: 12.52 MB / 0.6387 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.002331/0.6911, allocations: 2.127 MB / 0.8725 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.692, allocations: 406.5 kB / 0.8729 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.6925, allocations: 228.7 kB / 0.8731 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.6931, allocations: 400.3 kB / 0.8735 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.6937, allocations: 296.1 kB / 0.8738 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.6937, allocations: 0 / 0.8738 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.00168/0.6954, allocations: 0.6873 MB / 0.8744 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.6955, allocations: 63.41 kB / 0.8745 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.696, allocations: 494.1 kB / 0.875 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.6961, allocations: 33.7 kB / 0.875 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.6962, allocations: 268 kB / 0.8753 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.102e-05/0.6963, allocations: 114.3 kB / 0.8754 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6965, allocations: 98.02 kB / 0.8755 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6966, allocations: 358.8 kB / 0.8758 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.6971, allocations: 201.7 kB / 0.876 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.6976, allocations: 316.1 kB / 0.8763 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.6986, allocations: 0.5424 MB / 0.8768 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6986, allocations: 0 / 0.8768 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001199/0.6998, allocations: 0.6519 MB / 0.8775 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.6998, allocations: 67.39 kB / 0.8775 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6998, allocations: 4 kB / 0.8775 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6999, allocations: 7.938 kB / 0.8775 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.7003, allocations: 91.88 kB / 0.8776 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7003, allocations: 12.19 kB / 0.8776 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.7009, allocations: 79.48 kB / 0.8777 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.7009, allocations: 23.98 kB / 0.8777 GB, free: 4.625 MB / 0.6387 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.7012, allocations: 189.7 kB / 0.8779 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.7013, allocations: 59.28 kB / 0.878 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.7024, allocations: 0.5344 MB / 0.8785 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7024, allocations: 4 kB / 0.8785 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7024, allocations: 0 / 0.8785 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7025, allocations: 3.984 kB / 0.8785 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.7046, allocations: 1.362 MB / 0.8798 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.7046, allocations: 4 kB / 0.8798 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.705, allocations: 75.83 kB / 0.8799 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.705, allocations: 4 kB / 0.8799 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.705, allocations: 15.98 kB / 0.8799 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.705, allocations: 4 kB / 0.8799 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7051, allocations: 8.953 kB / 0.8799 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.7066, allocations: 0.9384 MB / 0.8809 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.7068, allocations: 172.3 kB / 0.881 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/0.7069, allocations: 13.5 kB / 0.881 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.7074, allocations: 43.95 kB / 0.8811 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7075, allocations: 59.73 kB / 0.8811 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.7076, allocations: 16 kB / 0.8812 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000372/0.7079, allocations: 346.8 kB / 0.8815 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7079, allocations: 0 / 0.8815 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005655/0.7085, allocations: 155.8 kB / 0.8816 GB, free: 456 kB / 0.6387 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 (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.0004437/0.709, allocations: 200.7 kB / 0.8818 GB, free: 256 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.7101, allocations: 0.5925 MB / 0.8824 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7101, allocations: 0 / 0.8824 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.7107, allocations: 256.8 kB / 0.8827 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.712, allocations: 294.8 kB / 0.8829 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.7139, allocations: 1.246 MB / 0.8841 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.7143, allocations: 0.8704 MB / 0.885 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.7145, allocations: 43.44 kB / 0.885 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.7145, allocations: 0 / 0.885 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.01243/0.727, allocations: 9.015 MB / 0.8938 GB, free: 3.945 MB / 0.6544 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)