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.0006861/0.0006861, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007163/0.0007162, allocations: 174.4 kB / 16.58 MB, free: 6.453 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.198/1.198, allocations: 223.2 MB / 240.6 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6052/0.6052, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 11.98 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.374/0.4959, allocations: 152 MB / 0.7054 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4977, allocations: 1.473 MB / 0.7068 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.4979, allocations: 11.88 kB / 0.7068 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4982, allocations: 103.2 kB / 0.7069 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.4991, allocations: 0.5015 MB / 0.7074 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.5, allocations: 459.6 kB / 0.7078 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.5006, allocations: 0.83 MB / 0.7086 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.5009, allocations: 177.2 kB / 0.7088 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.5013, allocations: 302.8 kB / 0.7091 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.5015, allocations: 219.2 kB / 0.7093 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.5016, allocations: 12 kB / 0.7093 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.5024, allocations: 462.8 kB / 0.7098 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.5025, allocations: 99.67 kB / 0.7099 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.5025, allocations: 81.58 kB / 0.7099 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.503, allocations: 442.8 kB / 0.7104 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.503, allocations: 0 / 0.7104 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.042e-06/0.503, allocations: 4 kB / 0.7104 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.503, allocations: 0 / 0.7104 GB, free: 13.78 MB / 0.5294 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.0006642/0.5037, allocations: 0.5968 MB / 0.7109 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5037, allocations: 12.03 kB / 0.711 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.5038, allocations: 58.55 kB / 0.711 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.5047, allocations: 156.3 kB / 0.7112 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.505, allocations: 305.8 kB / 0.7114 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5051, allocations: 12.44 kB / 0.7115 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.5051, allocations: 24 kB / 0.7115 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.5055, allocations: 279.5 kB / 0.7117 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5056, allocations: 3.938 kB / 0.7118 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.5056, allocations: 4 kB / 0.7118 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5056, allocations: 8 kB / 0.7118 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.506, allocations: 207.8 kB / 0.712 GB, free: 12.01 MB / 0.5294 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.001116/0.5071, allocations: 1.215 MB / 0.7132 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.5073, allocations: 146.4 kB / 0.7133 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.5075, allocations: 96.8 kB / 0.7134 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/0.508, allocations: 319.2 kB / 0.7137 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.508, allocations: 30.56 kB / 0.7137 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.508, allocations: 0 / 0.7137 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006592/0.5087, allocations: 300.3 kB / 0.714 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5087, allocations: 51.41 kB / 0.7141 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.509, allocations: 320.4 kB / 0.7144 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5091, allocations: 33.7 kB / 0.7144 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5092, allocations: 184.1 kB / 0.7146 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.5092, allocations: 47.2 kB / 0.7146 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.5092, allocations: 8 kB / 0.7146 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5093, allocations: 338.8 kB / 0.7149 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.5095, allocations: 75.94 kB / 0.715 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.5097, allocations: 123.9 kB / 0.7151 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.5099, allocations: 91.89 kB / 0.7152 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5099, allocations: 0 / 0.7152 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004118/0.5103, allocations: 257.2 kB / 0.7155 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5103, allocations: 4 kB / 0.7155 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5103, allocations: 4 kB / 0.7155 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5103, allocations: 0 / 0.7155 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.5105, allocations: 47.92 kB / 0.7155 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5105, allocations: 4 kB / 0.7155 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.5107, allocations: 39.75 kB / 0.7156 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.5107, allocations: 8 kB / 0.7156 GB, free: 8.07 MB / 0.5294 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.0001138/0.5109, allocations: 153.7 kB / 0.7157 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.5109, allocations: 31.58 kB / 0.7157 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.5113, allocations: 225.3 kB / 0.716 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5113, allocations: 0 / 0.716 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5113, allocations: 3.938 kB / 0.716 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5114, allocations: 4 kB / 0.716 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.5122, allocations: 0.6951 MB / 0.7166 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5122, allocations: 7.984 kB / 0.7167 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5124, allocations: 32.2 kB / 0.7167 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5124, allocations: 4 kB / 0.7167 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.5124, allocations: 8 kB / 0.7167 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5124, allocations: 7.938 kB / 0.7167 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5124, allocations: 0 / 0.7167 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.513, allocations: 454.7 kB / 0.7171 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.5131, allocations: 116.8 kB / 0.7172 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.5131, allocations: 7.984 kB / 0.7173 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5133, allocations: 19.92 kB / 0.7173 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5133, allocations: 20 kB / 0.7173 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.5134, allocations: 11.94 kB / 0.7173 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000176/0.5135, allocations: 219.1 kB / 0.7175 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5135, allocations: 0 / 0.7175 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003369/0.5139, allocations: 79.89 kB / 0.7176 GB, free: 5.855 MB / 0.5294 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.0009807/0.5149, allocations: 1.034 MB / 0.7186 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.5152, allocations: 185 kB / 0.7188 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5153, allocations: 0 / 0.7188 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.5154, allocations: 96.52 kB / 0.7189 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.5162, allocations: 162 kB / 0.719 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.5184, allocations: 1.765 MB / 0.7207 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5187, allocations: 0.7797 MB / 0.7215 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.5189, allocations: 67.16 kB / 0.7216 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.519, allocations: 87.41 kB / 0.7217 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.519, allocations: 3.938 kB / 0.7217 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.5367, allocations: 8.213 MB / 0.7297 GB, free: 9.551 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.5368, allocations: 217 kB / 0.7299 GB, free: 9.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.144, allocations: 3.938 kB / 0.7299 GB, free: 9.309 MB / 0.545 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/linux/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) Environment - environmentSimulation: