Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_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.001535/0.001535, allocations: 105.9 kB / 16.4 MB, free: 6.512 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.001657/0.001657, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.47 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 77.94 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4751/0.5955, allocations: 181.8 MB / 0.8216 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005306/0.6008, allocations: 4.458 MB / 0.8259 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.6015, allocations: 20.56 kB / 0.826 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.6023, allocations: 247 kB / 0.8262 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.6043, allocations: 0.7984 MB / 0.827 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.6077, allocations: 1.554 MB / 0.8285 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001411/0.6091, allocations: 1.256 MB / 0.8297 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.6097, allocations: 450.3 kB / 0.8301 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009305/0.6107, allocations: 0.5876 MB / 0.8307 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.6111, allocations: 407.6 kB / 0.8311 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.6112, allocations: 47.34 kB / 0.8311 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.6137, allocations: 1.548 MB / 0.8327 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.6138, allocations: 184.3 kB / 0.8328 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.6141, allocations: 307.6 kB / 0.8331 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.6161, allocations: 1.315 MB / 0.8344 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6161, allocations: 0 / 0.8344 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6161, allocations: 4 kB / 0.8344 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.6161, allocations: 0 / 0.8344 GB, free: 3.129 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.001629/0.6178, allocations: 1.037 MB / 0.8354 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6178, allocations: 10.69 kB / 0.8354 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/0.6179, allocations: 79.36 kB / 0.8355 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.6199, allocations: 284.7 kB / 0.8358 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.6207, allocations: 483.4 kB / 0.8362 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.6207, allocations: 30.19 kB / 0.8363 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.6208, allocations: 46.38 kB / 0.8363 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000955/0.6217, allocations: 0.5416 MB / 0.8368 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6218, allocations: 0 / 0.8368 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.6218, allocations: 16.75 kB / 0.8369 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.6218, allocations: 18.33 kB / 0.8369 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.6228, allocations: 465.1 kB / 0.8373 GB, free: 1.047 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.002323/0.6252, allocations: 2.12 MB / 0.8394 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.6261, allocations: 413.6 kB / 0.8398 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.6266, allocations: 230.5 kB / 0.84 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.6272, allocations: 396.1 kB / 0.8404 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.6278, allocations: 293.4 kB / 0.8407 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.6278, allocations: 0 / 0.8407 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001681/0.6295, allocations: 0.693 MB / 0.8413 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.6296, allocations: 56.53 kB / 0.8414 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.6301, allocations: 496.2 kB / 0.8419 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.6302, allocations: 46.33 kB / 0.8419 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.6303, allocations: 262.5 kB / 0.8422 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6304, allocations: 123.8 kB / 0.8423 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.6306, allocations: 94.98 kB / 0.8424 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6307, allocations: 363.2 kB / 0.8427 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.6312, allocations: 195.6 kB / 0.8429 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.6318, allocations: 318.9 kB / 0.8432 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.6327, allocations: 0.5429 MB / 0.8437 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6327, allocations: 4 kB / 0.8437 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001192/0.6339, allocations: 0.6515 MB / 0.8444 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.634, allocations: 64.2 kB / 0.8444 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.634, allocations: 5.375 kB / 0.8444 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.634, allocations: 4.812 kB / 0.8445 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.6345, allocations: 94.44 kB / 0.8445 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6345, allocations: 5.25 kB / 0.8445 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.635, allocations: 88.48 kB / 0.8446 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.6351, allocations: 27.33 kB / 0.8447 GB, free: 11.6 MB / 0.6075 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.000204/0.6353, allocations: 194.2 kB / 0.8448 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.6354, allocations: 56.44 kB / 0.8449 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.6365, allocations: 0.5345 MB / 0.8454 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6365, allocations: 4.906 kB / 0.8454 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6365, allocations: 3.984 kB / 0.8454 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6365, allocations: 0 / 0.8454 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.6387, allocations: 1.351 MB / 0.8467 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6387, allocations: 6.688 kB / 0.8468 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.6391, allocations: 76.39 kB / 0.8468 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6391, allocations: 6.656 kB / 0.8468 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.6391, allocations: 11.25 kB / 0.8468 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6391, allocations: 13.42 kB / 0.8469 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6392, allocations: 8.844 kB / 0.8469 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.6407, allocations: 0.9309 MB / 0.8478 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.641, allocations: 178.8 kB / 0.8479 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.641, allocations: 14.81 kB / 0.848 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.6415, allocations: 40.48 kB / 0.848 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6416, allocations: 47.98 kB / 0.848 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.6416, allocations: 14.78 kB / 0.8481 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003685/0.642, allocations: 350.9 kB / 0.8484 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.642, allocations: 0 / 0.8484 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005503/0.6426, allocations: 153 kB / 0.8485 GB, free: 9.008 MB / 0.6075 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.002152/0.6447, allocations: 1.574 MB / 0.8501 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.6459, allocations: 0.5771 MB / 0.8506 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6459, allocations: 4.062 kB / 0.8506 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.6466, allocations: 291.4 kB / 0.8509 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6479, allocations: 290.9 kB / 0.8512 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006907/0.6548, allocations: 5.004 MB / 0.8561 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.6553, allocations: 0.8704 MB / 0.8569 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004794/0.6558, allocations: 132.6 kB / 0.8571 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6561, allocations: 180.5 kB / 0.8572 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.6561, allocations: 3.938 kB / 0.8572 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.6888, allocations: 15.84 MB / 0.8727 GB, free: 272 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.981, allocations: 16.97 kB / 0.8727 GB, free: 260 kB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)