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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 286.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9701/0.9701, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 96.84 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5457/0.7058, allocations: 181.8 MB / 0.8578 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007087/0.713, allocations: 4.435 MB / 0.8621 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009234/0.7139, allocations: 20.72 kB / 0.8621 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.7148, allocations: 249.4 kB / 0.8624 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.717, allocations: 0.76 MB / 0.8631 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.7212, allocations: 1.514 MB / 0.8646 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.7226, allocations: 1.251 MB / 0.8658 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.7234, allocations: 450 kB / 0.8663 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.7243, allocations: 0.5744 MB / 0.8668 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.7248, allocations: 401.1 kB / 0.8672 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.7249, allocations: 45.38 kB / 0.8672 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.728, allocations: 1.542 MB / 0.8687 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.7282, allocations: 194.6 kB / 0.8689 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.7286, allocations: 305.3 kB / 0.8692 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.7307, allocations: 1.302 MB / 0.8705 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7308, allocations: 0 / 0.8705 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7308, allocations: 0 / 0.8705 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.7308, allocations: 0 / 0.8705 GB, free: 13.98 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.001817/0.7326, allocations: 1.022 MB / 0.8715 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7327, allocations: 14.06 kB / 0.8715 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/0.7328, allocations: 74.72 kB / 0.8716 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.7347, allocations: 283.7 kB / 0.8719 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.7355, allocations: 445.1 kB / 0.8723 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.7355, allocations: 30.62 kB / 0.8723 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.7356, allocations: 42.41 kB / 0.8723 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.7366, allocations: 0.551 MB / 0.8729 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7366, allocations: 0 / 0.8729 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.7367, allocations: 29.58 kB / 0.8729 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.7367, allocations: 14.03 kB / 0.8729 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.7377, allocations: 450.4 kB / 0.8734 GB, free: 11.93 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.002973/0.7407, allocations: 2.129 MB / 0.8754 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7419, allocations: 409.8 kB / 0.8758 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.7425, allocations: 223.4 kB / 0.876 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.7433, allocations: 403.6 kB / 0.8764 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.744, allocations: 291.9 kB / 0.8767 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.744, allocations: 4 kB / 0.8767 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.002087/0.7461, allocations: 0.6938 MB / 0.8774 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.7462, allocations: 56.12 kB / 0.8774 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.7468, allocations: 497.7 kB / 0.8779 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.7469, allocations: 34.58 kB / 0.8779 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.7472, allocations: 267.5 kB / 0.8782 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.7473, allocations: 122 kB / 0.8783 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.7475, allocations: 94.03 kB / 0.8784 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7477, allocations: 363.1 kB / 0.8788 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.7483, allocations: 199.8 kB / 0.8789 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.7489, allocations: 310.4 kB / 0.8792 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.75, allocations: 0.5429 MB / 0.8798 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.75, allocations: 3.062 kB / 0.8798 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001798/0.7518, allocations: 0.6494 MB / 0.8804 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.7519, allocations: 65.06 kB / 0.8805 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7519, allocations: 3 kB / 0.8805 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.752, allocations: 4.688 kB / 0.8805 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.7527, allocations: 99.41 kB / 0.8806 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.7527, allocations: 6.812 kB / 0.8806 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.7534, allocations: 77.2 kB / 0.8806 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.7535, allocations: 23.45 kB / 0.8807 GB, free: 6.469 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.0003088/0.7538, allocations: 202 kB / 0.8809 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.7539, allocations: 56.69 kB / 0.8809 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.7551, allocations: 0.5316 MB / 0.8814 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.7551, allocations: 3 kB / 0.8814 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7551, allocations: 0 / 0.8814 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7551, allocations: 0 / 0.8814 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.7576, allocations: 1.353 MB / 0.8828 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.7576, allocations: 8.219 kB / 0.8828 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.758, allocations: 77.45 kB / 0.8828 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.7581, allocations: 7.344 kB / 0.8828 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.7581, allocations: 12.89 kB / 0.8829 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.7581, allocations: 8.594 kB / 0.8829 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7581, allocations: 8.344 kB / 0.8829 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.7599, allocations: 0.9402 MB / 0.8838 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.7601, allocations: 176.8 kB / 0.884 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.7602, allocations: 8.844 kB / 0.884 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.7607, allocations: 36.2 kB / 0.884 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.7609, allocations: 56.06 kB / 0.8841 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.7609, allocations: 16.11 kB / 0.8841 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003945/0.7613, allocations: 343.2 kB / 0.8844 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7613, allocations: 2.781 kB / 0.8844 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005738/0.7619, allocations: 149.7 kB / 0.8845 GB, free: 3.875 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.002346/0.7642, allocations: 1.576 MB / 0.8861 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.7655, allocations: 0.5885 MB / 0.8867 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7656, allocations: 0 / 0.8867 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.7662, allocations: 291.1 kB / 0.8869 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.7676, allocations: 297.1 kB / 0.8872 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/0.7751, allocations: 5.107 MB / 0.8922 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.7756, allocations: 0.8587 MB / 0.893 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.7761, allocations: 124.7 kB / 0.8932 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.7764, allocations: 183.4 kB / 0.8933 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of SimCode: time 4.8e-07/0.7764, allocations: 0 / 0.8933 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.8295, allocations: 15.73 MB / 0.9087 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.568, allocations: 9.688 kB / 0.9087 GB, free: 12.74 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)