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.000704/0.0007039, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003777/0.003778, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 282.6 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 15.61 kB / 0.5988 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4041/0.5372, allocations: 177.2 MB / 0.8582 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004717/0.542, allocations: 4.427 MB / 0.8626 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.5422, allocations: 18.31 kB / 0.8626 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.5427, allocations: 195.5 kB / 0.8628 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.544, allocations: 0.7109 MB / 0.8635 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.5464, allocations: 1.407 MB / 0.8648 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.5476, allocations: 1.689 MB / 0.8665 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.5481, allocations: 370.4 kB / 0.8668 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006579/0.5487, allocations: 0.5135 MB / 0.8673 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.5491, allocations: 419.5 kB / 0.8677 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.5492, allocations: 28.59 kB / 0.8678 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.5512, allocations: 1.804 MB / 0.8695 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.5513, allocations: 166 kB / 0.8697 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.5516, allocations: 301.8 kB / 0.87 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.5529, allocations: 1.383 MB / 0.8713 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5529, allocations: 4 kB / 0.8713 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5529, allocations: 0 / 0.8713 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5529, allocations: 0 / 0.8713 GB, free: 14.61 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.00134/0.5542, allocations: 0.9263 MB / 0.8722 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5543, allocations: 12.02 kB / 0.8723 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.396e-05/0.5544, allocations: 79.16 kB / 0.8723 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.5561, allocations: 287.2 kB / 0.8726 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.5567, allocations: 438.6 kB / 0.873 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.5568, allocations: 39.78 kB / 0.8731 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.5568, allocations: 46.45 kB / 0.8731 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.5577, allocations: 0.5651 MB / 0.8737 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5578, allocations: 0 / 0.8737 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.5578, allocations: 21.78 kB / 0.8737 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5578, allocations: 7.969 kB / 0.8737 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.5588, allocations: 499.5 kB / 0.8742 GB, free: 12.61 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.002052/0.5608, allocations: 2.133 MB / 0.8762 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.5617, allocations: 430 kB / 0.8766 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.5622, allocations: 243.4 kB / 0.8769 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.5628, allocations: 417 kB / 0.8773 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.5634, allocations: 307.9 kB / 0.8776 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.5634, allocations: 2.094 kB / 0.8776 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001614/0.565, allocations: 0.7375 MB / 0.8783 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.565, allocations: 61.11 kB / 0.8784 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.5655, allocations: 0.4921 MB / 0.8788 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.5656, allocations: 32.67 kB / 0.8789 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.5657, allocations: 255.6 kB / 0.8791 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.5658, allocations: 122.3 kB / 0.8792 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.5659, allocations: 47.5 kB / 0.8793 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.566, allocations: 364.6 kB / 0.8796 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.5665, allocations: 215.1 kB / 0.8798 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.567, allocations: 328.1 kB / 0.8801 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.568, allocations: 0.5768 MB / 0.8807 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.568, allocations: 3.938 kB / 0.8807 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00122/0.5692, allocations: 0.6794 MB / 0.8814 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.5693, allocations: 67.33 kB / 0.8814 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5693, allocations: 4 kB / 0.8814 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5693, allocations: 4 kB / 0.8814 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.5698, allocations: 109 kB / 0.8815 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5698, allocations: 8 kB / 0.8816 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.5703, allocations: 91.39 kB / 0.8816 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.5703, allocations: 27.92 kB / 0.8817 GB, free: 6.227 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.0002035/0.5706, allocations: 199 kB / 0.8819 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.5706, allocations: 51.34 kB / 0.8819 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5718, allocations: 0.5697 MB / 0.8825 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5718, allocations: 4 kB / 0.8825 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5718, allocations: 0 / 0.8825 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5718, allocations: 0 / 0.8825 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5739, allocations: 1.391 MB / 0.8838 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5739, allocations: 0 / 0.8838 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.5743, allocations: 84.33 kB / 0.8839 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5743, allocations: 4 kB / 0.8839 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.5743, allocations: 19.98 kB / 0.8839 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5743, allocations: 4.703 kB / 0.8839 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5744, allocations: 7.938 kB / 0.8839 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.576, allocations: 0.9911 MB / 0.8849 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5761, allocations: 172.3 kB / 0.8851 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.5762, allocations: 12 kB / 0.8851 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.5767, allocations: 56 kB / 0.8851 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5768, allocations: 51.73 kB / 0.8852 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.5768, allocations: 16 kB / 0.8852 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003602/0.5772, allocations: 358.8 kB / 0.8855 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5772, allocations: 0 / 0.8855 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004853/0.5777, allocations: 143.8 kB / 0.8857 GB, free: 1.918 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.002194/0.5799, allocations: 1.61 MB / 0.8873 GB, free: 252 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.581, allocations: 0.6101 MB / 0.8878 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5811, allocations: 4 kB / 0.8878 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.5817, allocations: 304.7 kB / 0.8881 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.5832, allocations: 280.9 kB / 0.8884 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.59, allocations: 5.385 MB / 0.8937 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.5904, allocations: 0.8781 MB / 0.8945 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004425/0.5908, allocations: 124.7 kB / 0.8946 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.5911, allocations: 175.3 kB / 0.8948 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.5911, allocations: 0 / 0.8948 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.521/4.112, allocations: 14.85 MB / 0.9093 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/4.113, allocations: 257.5 kB / 0.9096 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/7.047, allocations: 3.938 kB / 0.9096 GB, free: 9.418 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)