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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0009711/0.0009712, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007409/0.007409, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9586/0.9586, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 12 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 83.41 MB / 0.598 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4043/0.5447, allocations: 163 MB / 0.7571 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.5472, allocations: 1.548 MB / 0.7586 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.5474, allocations: 7.938 kB / 0.7586 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.5478, allocations: 123.1 kB / 0.7588 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.5492, allocations: 0.677 MB / 0.7594 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.5505, allocations: 0.5408 MB / 0.76 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008808/0.5514, allocations: 0.9742 MB / 0.7609 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.5517, allocations: 177.5 kB / 0.7611 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.5522, allocations: 310.7 kB / 0.7614 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.5525, allocations: 235 kB / 0.7616 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.5525, allocations: 12 kB / 0.7616 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.5539, allocations: 1.006 MB / 0.7626 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.554, allocations: 95.7 kB / 0.7627 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.5542, allocations: 184.9 kB / 0.7629 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008724/0.5551, allocations: 0.7711 MB / 0.7636 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5551, allocations: 4 kB / 0.7636 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5551, allocations: 0 / 0.7636 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5551, allocations: 0 / 0.7636 GB, free: 2.305 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.0008359/0.5559, allocations: 0.5999 MB / 0.7642 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.556, allocations: 13.25 kB / 0.7642 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.5561, allocations: 58.48 kB / 0.7643 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.5571, allocations: 155.4 kB / 0.7644 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.5575, allocations: 301.7 kB / 0.7647 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.5575, allocations: 17.25 kB / 0.7647 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.5576, allocations: 20 kB / 0.7647 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.5581, allocations: 295.4 kB / 0.765 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.5581, allocations: 0 / 0.765 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5581, allocations: 4 kB / 0.765 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5582, allocations: 11.98 kB / 0.765 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.5586, allocations: 203.8 kB / 0.7652 GB, free: 0.5312 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.001257/0.5598, allocations: 1.218 MB / 0.7664 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.5601, allocations: 139.2 kB / 0.7666 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.5603, allocations: 94.12 kB / 0.7666 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.5609, allocations: 315.2 kB / 0.7669 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5609, allocations: 42.5 kB / 0.767 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.5609, allocations: 0 / 0.767 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007515/0.5617, allocations: 307 kB / 0.7673 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5617, allocations: 55.41 kB / 0.7673 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.562, allocations: 312.5 kB / 0.7676 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.5621, allocations: 29.7 kB / 0.7677 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5622, allocations: 192 kB / 0.7678 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.5622, allocations: 47.3 kB / 0.7679 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.5623, allocations: 21.72 kB / 0.7679 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5624, allocations: 338.8 kB / 0.7682 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5626, allocations: 75.94 kB / 0.7683 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.5628, allocations: 128.6 kB / 0.7684 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.5632, allocations: 202 kB / 0.7686 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5632, allocations: 4 kB / 0.7686 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004522/0.5636, allocations: 248.4 kB / 0.7689 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5637, allocations: 11.98 kB / 0.7689 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5637, allocations: 96 / 0.7689 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5637, allocations: 8 kB / 0.7689 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.5639, allocations: 35.98 kB / 0.7689 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5639, allocations: 7.938 kB / 0.7689 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.5641, allocations: 36.5 kB / 0.769 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5641, allocations: 13.67 kB / 0.769 GB, free: 12.45 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.0001333/0.5643, allocations: 153.7 kB / 0.7691 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.5643, allocations: 35.66 kB / 0.7691 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.5648, allocations: 225.5 kB / 0.7694 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.5648, allocations: 4 kB / 0.7694 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5648, allocations: 4 kB / 0.7694 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5648, allocations: 0 / 0.7694 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.5658, allocations: 0.6913 MB / 0.77 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5658, allocations: 3.688 kB / 0.77 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.566, allocations: 39.91 kB / 0.7701 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.566, allocations: 4.219 kB / 0.7701 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.566, allocations: 7.938 kB / 0.7701 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.566, allocations: 4 kB / 0.7701 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.566, allocations: 4 kB / 0.7701 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.5667, allocations: 450.5 kB / 0.7705 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5668, allocations: 120.8 kB / 0.7707 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.5668, allocations: 11.94 kB / 0.7707 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.567, allocations: 15.92 kB / 0.7707 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.5671, allocations: 19.92 kB / 0.7707 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5671, allocations: 11.92 kB / 0.7707 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002034/0.5673, allocations: 227.1 kB / 0.7709 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5673, allocations: 0 / 0.7709 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003681/0.5677, allocations: 83.98 kB / 0.771 GB, free: 10.21 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.001116/0.5688, allocations: 1.045 MB / 0.772 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.5692, allocations: 179.7 kB / 0.7722 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5692, allocations: 0 / 0.7722 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.5694, allocations: 104.4 kB / 0.7723 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/0.5704, allocations: 158.5 kB / 0.7724 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.5738, allocations: 3.057 MB / 0.7754 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5741, allocations: 0.7797 MB / 0.7762 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.5744, allocations: 70 kB / 0.7763 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5745, allocations: 83.36 kB / 0.7763 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5745, allocations: 0 / 0.7763 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.5931, allocations: 8.265 MB / 0.7844 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.5933, allocations: 257.6 kB / 0.7847 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.476, allocations: 0 / 0.7847 GB, free: 12.29 MB / 0.6075 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/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)