Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008667/0.0008665, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009329/0.0009329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9875/0.9875, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4849/0.6545, allocations: 152.1 MB / 0.746 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.657, allocations: 1.479 MB / 0.7475 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.6573, allocations: 15.03 kB / 0.7475 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.6577, allocations: 102.1 kB / 0.7476 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.659, allocations: 0.4999 MB / 0.7481 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.6604, allocations: 456.2 kB / 0.7485 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.6613, allocations: 0.8271 MB / 0.7493 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.6616, allocations: 183 kB / 0.7495 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.6622, allocations: 302.8 kB / 0.7498 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.6624, allocations: 215.2 kB / 0.75 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.6625, allocations: 12 kB / 0.75 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.6635, allocations: 470.8 kB / 0.7505 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6636, allocations: 95.69 kB / 0.7505 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.6637, allocations: 81.58 kB / 0.7506 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.6642, allocations: 454.8 kB / 0.7511 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6643, allocations: 0 / 0.7511 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6643, allocations: 0 / 0.7511 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6643, allocations: 0 / 0.7511 GB, free: 14.93 MB / 0.5762 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.0007661/0.665, allocations: 0.6038 MB / 0.7516 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.6651, allocations: 12.03 kB / 0.7517 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.6652, allocations: 54.55 kB / 0.7517 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6662, allocations: 159.4 kB / 0.7519 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6666, allocations: 297.8 kB / 0.7521 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6666, allocations: 16.44 kB / 0.7522 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.6667, allocations: 24 kB / 0.7522 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.6671, allocations: 279.5 kB / 0.7524 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6671, allocations: 3.938 kB / 0.7525 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.6672, allocations: 12 kB / 0.7525 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6672, allocations: 4 kB / 0.7525 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.6676, allocations: 211.8 kB / 0.7527 GB, free: 13.15 MB / 0.5762 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.001231/0.6688, allocations: 1.21 MB / 0.7538 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.6691, allocations: 146.4 kB / 0.754 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.6693, allocations: 92.81 kB / 0.7541 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.6698, allocations: 319.2 kB / 0.7544 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.6699, allocations: 30.56 kB / 0.7544 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.6699, allocations: 0 / 0.7544 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006887/0.6706, allocations: 302.9 kB / 0.7547 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.6706, allocations: 51.41 kB / 0.7547 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.6709, allocations: 320.5 kB / 0.7551 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.6709, allocations: 29.7 kB / 0.7551 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6711, allocations: 184.1 kB / 0.7553 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.6711, allocations: 55.2 kB / 0.7553 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.6711, allocations: 8 kB / 0.7553 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6712, allocations: 338.8 kB / 0.7556 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.6714, allocations: 67.95 kB / 0.7557 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.6716, allocations: 125.8 kB / 0.7558 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.6718, allocations: 87.89 kB / 0.7559 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.6718, allocations: 0 / 0.7559 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004105/0.6722, allocations: 256.2 kB / 0.7562 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.6722, allocations: 4 kB / 0.7562 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6722, allocations: 4 kB / 0.7562 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6722, allocations: 4 kB / 0.7562 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.6724, allocations: 48 kB / 0.7562 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6724, allocations: 4.5 kB / 0.7562 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.6726, allocations: 35.73 kB / 0.7563 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.6727, allocations: 12 kB / 0.7563 GB, free: 9.23 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.6728, allocations: 157.6 kB / 0.7564 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6729, allocations: 27.72 kB / 0.7564 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.6733, allocations: 227.4 kB / 0.7567 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6733, allocations: 0 / 0.7567 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6733, allocations: 3.938 kB / 0.7567 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6733, allocations: 4 kB / 0.7567 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.6743, allocations: 0.6919 MB / 0.7573 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6743, allocations: 7.625 kB / 0.7573 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.6744, allocations: 31.92 kB / 0.7574 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6744, allocations: 7.984 kB / 0.7574 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6745, allocations: 8 kB / 0.7574 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6745, allocations: 7.938 kB / 0.7574 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6745, allocations: 8.172 kB / 0.7574 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.6751, allocations: 442.2 kB / 0.7578 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.6752, allocations: 124.7 kB / 0.7579 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.6752, allocations: 8.062 kB / 0.758 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6754, allocations: 19.92 kB / 0.758 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.6755, allocations: 15.94 kB / 0.758 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.6755, allocations: 4 kB / 0.758 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001925/0.6757, allocations: 227 kB / 0.7582 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6757, allocations: 4 kB / 0.7582 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003638/0.676, allocations: 72 kB / 0.7583 GB, free: 7.02 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.6771, allocations: 1.047 MB / 0.7593 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.6775, allocations: 177.8 kB / 0.7595 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6775, allocations: 0 / 0.7595 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.6777, allocations: 88.52 kB / 0.7596 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.6786, allocations: 168.8 kB / 0.7597 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.681, allocations: 1.775 MB / 0.7615 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6813, allocations: 0.7758 MB / 0.7622 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.6815, allocations: 62.97 kB / 0.7623 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6816, allocations: 95.41 kB / 0.7624 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.6816, allocations: 3.938 kB / 0.7624 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.7016, allocations: 8.254 MB / 0.7704 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.7018, allocations: 232 kB / 0.7706 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.638, allocations: 0 / 0.7706 GB, free: 10.48 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: