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.001143/0.001143, allocations: 106.8 kB / 16.27 MB, free: 6.105 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.001246/0.001246, allocations: 188.9 kB / 17.2 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7677/0.7677, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3491, allocations: 77.93 MB / 0.5673 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1648/0.5139, allocations: 167.3 MB / 0.7307 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.5165, allocations: 1.548 MB / 0.7322 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.5167, allocations: 11.94 kB / 0.7322 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.5172, allocations: 158.8 kB / 0.7324 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.5188, allocations: 0.6961 MB / 0.7331 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.5201, allocations: 0.603 MB / 0.7336 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000665/0.5208, allocations: 0.7011 MB / 0.7343 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.5212, allocations: 237 kB / 0.7346 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.5217, allocations: 322.8 kB / 0.7349 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.522, allocations: 223 kB / 0.7351 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.522, allocations: 24 kB / 0.7351 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5233, allocations: 0.8611 MB / 0.7359 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.5235, allocations: 111.7 kB / 0.736 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.5236, allocations: 167.1 kB / 0.7362 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.5245, allocations: 0.7091 MB / 0.7369 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5246, allocations: 0 / 0.7369 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5246, allocations: 0 / 0.7369 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5246, allocations: 0 / 0.7369 GB, free: 12.52 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.0008772/0.5255, allocations: 0.6466 MB / 0.7375 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5255, allocations: 12.56 kB / 0.7375 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.5256, allocations: 66.53 kB / 0.7376 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5267, allocations: 143.5 kB / 0.7377 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.5271, allocations: 317.5 kB / 0.738 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5271, allocations: 20.44 kB / 0.7381 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.5272, allocations: 16 kB / 0.7381 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.5277, allocations: 283.4 kB / 0.7383 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5277, allocations: 3.984 kB / 0.7384 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.5277, allocations: 12 kB / 0.7384 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5277, allocations: 4 kB / 0.7384 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.5282, allocations: 199.8 kB / 0.7386 GB, free: 10.7 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.001328/0.5295, allocations: 1.209 MB / 0.7397 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.5298, allocations: 134.5 kB / 0.7399 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.53, allocations: 91.05 kB / 0.74 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/0.5305, allocations: 311.2 kB / 0.7403 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.5306, allocations: 34.56 kB / 0.7403 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.5306, allocations: 0 / 0.7403 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007389/0.5313, allocations: 285.3 kB / 0.7406 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5314, allocations: 55.41 kB / 0.7406 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.5317, allocations: 308.5 kB / 0.7409 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.5317, allocations: 33.7 kB / 0.7409 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.5318, allocations: 184.1 kB / 0.7411 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.5319, allocations: 55.2 kB / 0.7412 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.532, allocations: 45.7 kB / 0.7412 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5321, allocations: 338.8 kB / 0.7415 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.5322, allocations: 63.95 kB / 0.7416 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.5324, allocations: 122.2 kB / 0.7417 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.5328, allocations: 189 kB / 0.7419 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5328, allocations: 0 / 0.7419 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004566/0.5333, allocations: 256 kB / 0.7421 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5333, allocations: 8 kB / 0.7421 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5333, allocations: 0 / 0.7421 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5333, allocations: 4 kB / 0.7421 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5335, allocations: 35.98 kB / 0.7422 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.5335, allocations: 4 kB / 0.7422 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.5337, allocations: 27.77 kB / 0.7422 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.5338, allocations: 8.094 kB / 0.7422 GB, free: 6.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.5339, allocations: 157.7 kB / 0.7424 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.534, allocations: 31.62 kB / 0.7424 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.5344, allocations: 224.3 kB / 0.7426 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5345, allocations: 4 kB / 0.7426 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5345, allocations: 0 / 0.7426 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5345, allocations: 3.938 kB / 0.7426 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.5354, allocations: 0.6797 MB / 0.7433 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5355, allocations: 4 kB / 0.7433 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.5356, allocations: 35.92 kB / 0.7433 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5356, allocations: 7.922 kB / 0.7433 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.5357, allocations: 4 kB / 0.7433 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.5357, allocations: 7.938 kB / 0.7433 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5357, allocations: 80 / 0.7433 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.5363, allocations: 436.2 kB / 0.7438 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.5364, allocations: 132.8 kB / 0.7439 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.5365, allocations: 8 kB / 0.7439 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5367, allocations: 7.984 kB / 0.7439 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.5367, allocations: 15.98 kB / 0.7439 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5367, allocations: 4 kB / 0.7439 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002044/0.5369, allocations: 231 kB / 0.7441 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5369, allocations: 0 / 0.7441 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003718/0.5373, allocations: 75.91 kB / 0.7442 GB, free: 4.496 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 (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.00111/0.5384, allocations: 1.034 MB / 0.7452 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.5389, allocations: 186.5 kB / 0.7454 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5389, allocations: 0 / 0.7454 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.5391, allocations: 87.83 kB / 0.7455 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.54, allocations: 170.2 kB / 0.7456 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2206/0.7606, allocations: 2.897 MB / 0.7485 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.7611, allocations: 0.7828 MB / 0.7492 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.7616, allocations: 62.33 kB / 0.7493 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.7618, allocations: 87.89 kB / 0.7494 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of SimCode: time 3.988e-06/0.7618, allocations: 0 / 0.7494 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.8012, allocations: 8.737 MB / 0.7579 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.463, allocations: 12.19 kB / 0.7579 GB, free: 170.3 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)