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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001397/0.001397, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.8544/0.8544, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.11 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 82.03 MB / 0.6763 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4969/0.638, allocations: 167.4 MB / 0.8398 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.6409, allocations: 1.555 MB / 0.8413 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.6414, allocations: 15.56 kB / 0.8413 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.642, allocations: 148.6 kB / 0.8415 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.6442, allocations: 0.6991 MB / 0.8422 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.6458, allocations: 0.6022 MB / 0.8427 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.6468, allocations: 0.7006 MB / 0.8434 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.6472, allocations: 234.8 kB / 0.8436 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.648, allocations: 347.1 kB / 0.844 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.6483, allocations: 214.7 kB / 0.8442 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.6484, allocations: 22.56 kB / 0.8442 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.65, allocations: 0.8687 MB / 0.8451 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.6501, allocations: 111.6 kB / 0.8452 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.6504, allocations: 162.8 kB / 0.8453 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.6518, allocations: 0.7479 MB / 0.846 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6518, allocations: 0 / 0.846 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6519, allocations: 0 / 0.846 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.6519, allocations: 0 / 0.846 GB, free: 14.08 MB / 0.6231 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.001204/0.6531, allocations: 0.6447 MB / 0.8467 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6531, allocations: 10.12 kB / 0.8467 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6544, allocations: 156.1 kB / 0.8468 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.655, allocations: 321 kB / 0.8471 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.655, allocations: 21.03 kB / 0.8472 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.6551, allocations: 26.97 kB / 0.8472 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.6556, allocations: 266.5 kB / 0.8474 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6556, allocations: 3.938 kB / 0.8474 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.6557, allocations: 10.41 kB / 0.8475 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.6557, allocations: 7.688 kB / 0.8475 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.6561, allocations: 201.5 kB / 0.8477 GB, free: 12.82 MB / 0.6231 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.001469/0.6576, allocations: 1.216 MB / 0.8488 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.6579, allocations: 133.1 kB / 0.849 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.658, allocations: 92.69 kB / 0.8491 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/0.6586, allocations: 306 kB / 0.8493 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6587, allocations: 36.59 kB / 0.8494 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.6587, allocations: 0 / 0.8494 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008036/0.6595, allocations: 280 kB / 0.8496 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.6595, allocations: 53.88 kB / 0.8497 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.6599, allocations: 320.1 kB / 0.85 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.6599, allocations: 25.7 kB / 0.85 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.66, allocations: 181.8 kB / 0.8502 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.6601, allocations: 52.02 kB / 0.8503 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.6602, allocations: 43.14 kB / 0.8503 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6603, allocations: 342.6 kB / 0.8506 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.6605, allocations: 65.52 kB / 0.8507 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.6607, allocations: 125.4 kB / 0.8508 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.661, allocations: 190.9 kB / 0.851 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6611, allocations: 6.688 kB / 0.851 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004917/0.6615, allocations: 245.2 kB / 0.8512 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6616, allocations: 6.844 kB / 0.8512 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6616, allocations: 0 / 0.8512 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6616, allocations: 2.562 kB / 0.8512 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.6618, allocations: 46.75 kB / 0.8513 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6618, allocations: 2.406 kB / 0.8513 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.6621, allocations: 33.52 kB / 0.8513 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.6621, allocations: 11.97 kB / 0.8513 GB, free: 9.77 MB / 0.6231 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.0001496/0.6623, allocations: 155 kB / 0.8515 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.6623, allocations: 30.88 kB / 0.8515 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.6628, allocations: 208.9 kB / 0.8517 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.6628, allocations: 6.453 kB / 0.8517 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6628, allocations: 0 / 0.8517 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6628, allocations: 0 / 0.8517 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6639, allocations: 0.6895 MB / 0.8524 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6639, allocations: 3.656 kB / 0.8524 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.6641, allocations: 30.94 kB / 0.8524 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.6641, allocations: 6.406 kB / 0.8524 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.6642, allocations: 12.38 kB / 0.8524 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.6642, allocations: 6.844 kB / 0.8524 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6642, allocations: 4.031 kB / 0.8524 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.6649, allocations: 432.1 kB / 0.8529 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.665, allocations: 125.6 kB / 0.853 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.6651, allocations: 11.92 kB / 0.853 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.6653, allocations: 16 kB / 0.853 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.6653, allocations: 11.98 kB / 0.853 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.6654, allocations: 4 kB / 0.853 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002176/0.6656, allocations: 227 kB / 0.8532 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6656, allocations: 0 / 0.8532 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004041/0.666, allocations: 80 kB / 0.8533 GB, free: 8.039 MB / 0.6231 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.0004094/0.6664, allocations: 170.9 kB / 0.8535 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.6669, allocations: 171.8 kB / 0.8536 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6669, allocations: 0 / 0.8536 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.6671, allocations: 92.02 kB / 0.8537 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.668, allocations: 166.6 kB / 0.8539 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.669, allocations: 0.6227 MB / 0.8545 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.6693, allocations: 0.7756 MB / 0.8552 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.6694, allocations: 27.38 kB / 0.8553 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.6694, allocations: 3.938 kB / 0.8553 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of Templates: time 0.007988/0.6774, allocations: 4.864 MB / 0.86 GB, free: 1.137 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)