Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.001078/0.001078, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001084/0.001084, allocations: 192 kB / 17.34 MB, free: 5.727 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7572/0.7572, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.52 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 77.94 MB / 0.6441 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5055/0.6456, allocations: 167.3 MB / 0.8075 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.6481, allocations: 1.569 MB / 0.809 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.6485, allocations: 14.72 kB / 0.809 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.649, allocations: 151.5 kB / 0.8092 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.6509, allocations: 0.7321 MB / 0.8099 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.6525, allocations: 0.5985 MB / 0.8105 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.6533, allocations: 0.7096 MB / 0.8112 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.6537, allocations: 221.6 kB / 0.8114 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.6542, allocations: 348.3 kB / 0.8117 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.6545, allocations: 220.7 kB / 0.8119 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.6545, allocations: 21.5 kB / 0.8119 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.6559, allocations: 0.8728 MB / 0.8128 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.6561, allocations: 110.4 kB / 0.8129 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.6562, allocations: 164.7 kB / 0.8131 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.6573, allocations: 0.7188 MB / 0.8138 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6573, allocations: 4 kB / 0.8138 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6573, allocations: 2.719 kB / 0.8138 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6573, allocations: 0 / 0.8138 GB, free: 10.21 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008939/0.6582, allocations: 0.6652 MB / 0.8144 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6583, allocations: 10.91 kB / 0.8144 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.6583, allocations: 55.23 kB / 0.8145 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.6595, allocations: 158.3 kB / 0.8146 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.66, allocations: 327.4 kB / 0.8149 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.66, allocations: 17.56 kB / 0.815 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.6601, allocations: 25.98 kB / 0.815 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.6605, allocations: 282.7 kB / 0.8152 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6605, allocations: 0 / 0.8152 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.6606, allocations: 9.312 kB / 0.8153 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.6606, allocations: 5.344 kB / 0.8153 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.6609, allocations: 197.5 kB / 0.8155 GB, free: 9.102 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.001287/0.6622, allocations: 1.201 MB / 0.8166 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.6625, allocations: 136.9 kB / 0.8168 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.6627, allocations: 92.77 kB / 0.8168 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/0.6632, allocations: 310.6 kB / 0.8171 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6633, allocations: 38.5 kB / 0.8172 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.6633, allocations: 2.094 kB / 0.8172 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007277/0.664, allocations: 282.7 kB / 0.8174 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.6641, allocations: 53.91 kB / 0.8175 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.6644, allocations: 315.1 kB / 0.8178 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.6644, allocations: 29.27 kB / 0.8178 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.6645, allocations: 186.1 kB / 0.818 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.6645, allocations: 51.23 kB / 0.8181 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.6646, allocations: 44.7 kB / 0.8181 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6647, allocations: 344.6 kB / 0.8184 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6649, allocations: 68.53 kB / 0.8185 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.6651, allocations: 126.9 kB / 0.8186 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.6654, allocations: 187.1 kB / 0.8188 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6654, allocations: 2.094 kB / 0.8188 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000426/0.6659, allocations: 245.7 kB / 0.819 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6659, allocations: 12.91 kB / 0.819 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6659, allocations: 2.25 kB / 0.819 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6659, allocations: 6.984 kB / 0.819 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.6661, allocations: 37.92 kB / 0.8191 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6661, allocations: 5.281 kB / 0.8191 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.6663, allocations: 31.39 kB / 0.8191 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.6664, allocations: 7.406 kB / 0.8191 GB, free: 6.539 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001304/0.6665, allocations: 154 kB / 0.8193 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.6666, allocations: 35.86 kB / 0.8193 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.667, allocations: 213.7 kB / 0.8195 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.667, allocations: 5.797 kB / 0.8195 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.667, allocations: 3.844 kB / 0.8195 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6671, allocations: 0 / 0.8195 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.668, allocations: 0.684 MB / 0.8202 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.668, allocations: 2.656 kB / 0.8202 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6682, allocations: 33.08 kB / 0.8202 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6682, allocations: 10.94 kB / 0.8202 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.6682, allocations: 3.219 kB / 0.8202 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.6682, allocations: 7.281 kB / 0.8202 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6682, allocations: 6.75 kB / 0.8202 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.6688, allocations: 423.2 kB / 0.8207 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.669, allocations: 127.7 kB / 0.8208 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.669, allocations: 10.75 kB / 0.8208 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.6692, allocations: 11.67 kB / 0.8208 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.6693, allocations: 17.11 kB / 0.8208 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6693, allocations: 4.875 kB / 0.8208 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6695, allocations: 226.8 kB / 0.821 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6695, allocations: 2.75 kB / 0.821 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003907/0.6699, allocations: 72.31 kB / 0.8211 GB, free: 5.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00115/0.6711, allocations: 1.057 MB / 0.8221 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.6715, allocations: 171 kB / 0.8223 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6715, allocations: 2.938 kB / 0.8223 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.6717, allocations: 83.3 kB / 0.8224 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/0.6725, allocations: 160.8 kB / 0.8225 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.6758, allocations: 2.914 MB / 0.8254 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.6762, allocations: 0.7831 MB / 0.8261 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.6764, allocations: 70.11 kB / 0.8262 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6765, allocations: 84.42 kB / 0.8263 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6765, allocations: 0 / 0.8263 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.7059, allocations: 8.827 MB / 0.8349 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.29, allocations: 9.891 kB / 0.8349 GB, free: 12.47 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)