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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001148/0.001148, allocations: 197.1 kB / 16.14 MB, free: 6.734 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 288.9 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 93.61 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.117, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3862/0.5032, allocations: 179.5 MB / 0.8549 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.5082, allocations: 4.476 MB / 0.8592 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.5085, allocations: 18.03 kB / 0.8593 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.509, allocations: 196.2 kB / 0.8594 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5104, allocations: 0.7175 MB / 0.8601 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.5129, allocations: 1.398 MB / 0.8615 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.514, allocations: 1.681 MB / 0.8631 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.5145, allocations: 389.3 kB / 0.8635 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.5151, allocations: 0.5145 MB / 0.864 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.5155, allocations: 427.2 kB / 0.8644 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.5155, allocations: 30.31 kB / 0.8645 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.5176, allocations: 1.814 MB / 0.8662 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.5178, allocations: 174.5 kB / 0.8664 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.518, allocations: 285.6 kB / 0.8667 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.5195, allocations: 1.382 MB / 0.868 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5195, allocations: 3.938 kB / 0.868 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5195, allocations: 4 kB / 0.868 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5195, allocations: 2.719 kB / 0.868 GB, free: 15.9 MB / 0.5919 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.00145/0.5209, allocations: 1.023 MB / 0.869 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.521, allocations: 10.19 kB / 0.869 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/0.5211, allocations: 85.98 kB / 0.8691 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.5229, allocations: 278.1 kB / 0.8694 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.5235, allocations: 444.2 kB / 0.8698 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.5235, allocations: 31.34 kB / 0.8698 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.5236, allocations: 45.58 kB / 0.8699 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.5245, allocations: 0.5462 MB / 0.8704 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5245, allocations: 1.781 kB / 0.8704 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.5245, allocations: 17.72 kB / 0.8704 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.5245, allocations: 13.81 kB / 0.8704 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.5254, allocations: 459 kB / 0.8709 GB, free: 13.85 MB / 0.5919 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.002074/0.5275, allocations: 2.115 MB / 0.8729 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.5284, allocations: 410.8 kB / 0.8733 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.5288, allocations: 241.9 kB / 0.8736 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.5294, allocations: 400.1 kB / 0.874 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/0.53, allocations: 289.5 kB / 0.8742 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.774e-06/0.53, allocations: 0 / 0.8742 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001533/0.5315, allocations: 0.6905 MB / 0.8749 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.5315, allocations: 57.09 kB / 0.875 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.532, allocations: 495.7 kB / 0.8754 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.5321, allocations: 36.61 kB / 0.8755 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5322, allocations: 263.6 kB / 0.8757 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.5323, allocations: 124.1 kB / 0.8758 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5325, allocations: 92 kB / 0.8759 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5326, allocations: 363 kB / 0.8763 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.533, allocations: 198.6 kB / 0.8765 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.5335, allocations: 312 kB / 0.8768 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.5344, allocations: 0.5388 MB / 0.8773 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5344, allocations: 4.344 kB / 0.8773 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001104/0.5355, allocations: 0.6599 MB / 0.8779 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.5356, allocations: 65.73 kB / 0.878 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5356, allocations: 6.5 kB / 0.878 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5356, allocations: 4.312 kB / 0.878 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.536, allocations: 94.38 kB / 0.8781 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.536, allocations: 5.812 kB / 0.8781 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.5365, allocations: 90.62 kB / 0.8782 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.5365, allocations: 22.62 kB / 0.8782 GB, free: 8.387 MB / 0.5919 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.0001962/0.5367, allocations: 193.6 kB / 0.8784 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.5368, allocations: 52.41 kB / 0.8784 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.5379, allocations: 0.5387 MB / 0.879 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5379, allocations: 2.812 kB / 0.879 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5379, allocations: 0 / 0.879 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5379, allocations: 3.984 kB / 0.879 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.5398, allocations: 1.341 MB / 0.8803 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5398, allocations: 10.47 kB / 0.8803 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.5402, allocations: 76.5 kB / 0.8804 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5402, allocations: 9.438 kB / 0.8804 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5402, allocations: 11.28 kB / 0.8804 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.5402, allocations: 9.375 kB / 0.8804 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.5402, allocations: 6.25 kB / 0.8804 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.5417, allocations: 0.9394 MB / 0.8813 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.5419, allocations: 174.7 kB / 0.8815 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/0.542, allocations: 22.83 kB / 0.8815 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.5424, allocations: 38.98 kB / 0.8815 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5425, allocations: 56.16 kB / 0.8816 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.5425, allocations: 16.17 kB / 0.8816 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000331/0.5429, allocations: 344.2 kB / 0.8819 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5429, allocations: 2.719 kB / 0.8819 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004622/0.5433, allocations: 153.1 kB / 0.8821 GB, free: 5.789 MB / 0.5919 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.001911/0.5453, allocations: 1.574 MB / 0.8836 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000955/0.5462, allocations: 0.5736 MB / 0.8842 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5462, allocations: 2.562 kB / 0.8842 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.5468, allocations: 293.1 kB / 0.8845 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.548, allocations: 277.5 kB / 0.8847 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/0.5543, allocations: 5.243 MB / 0.8899 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5547, allocations: 0.8665 MB / 0.8907 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004699/0.5552, allocations: 128.7 kB / 0.8908 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.5554, allocations: 175.4 kB / 0.891 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.5554, allocations: 0 / 0.891 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.654/4.209, allocations: 15.04 MB / 0.9057 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/4.21, allocations: 251.8 kB / 0.9059 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/6.309, allocations: 3.25 kB / 0.9059 GB, free: 15.39 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)