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.001136/0.001136, allocations: 104.9 kB / 16.41 MB, free: 6.449 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.001211/0.001211, allocations: 197.4 kB / 17.35 MB, free: 5.738 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 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.8126/0.8126, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.47 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 82.04 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.492/0.6334, allocations: 167.4 MB / 0.8398 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.636, allocations: 1.565 MB / 0.8413 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.6362, allocations: 12.19 kB / 0.8413 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.6367, allocations: 153.3 kB / 0.8415 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.6383, allocations: 0.695 MB / 0.8422 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.6397, allocations: 0.5968 MB / 0.8427 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.6405, allocations: 0.7112 MB / 0.8434 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.6408, allocations: 227 kB / 0.8436 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.6414, allocations: 342.6 kB / 0.844 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.6417, allocations: 215.6 kB / 0.8442 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.6417, allocations: 26.19 kB / 0.8442 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.6431, allocations: 0.8678 MB / 0.8451 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.6433, allocations: 109.2 kB / 0.8452 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.6434, allocations: 166.2 kB / 0.8453 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.6444, allocations: 0.74 MB / 0.846 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6445, allocations: 0 / 0.846 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6445, allocations: 4 kB / 0.846 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.6445, allocations: 0 / 0.846 GB, free: 14.14 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.0008269/0.6453, allocations: 0.6491 MB / 0.8467 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.6453, allocations: 10.41 kB / 0.8467 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6464, allocations: 155.8 kB / 0.8468 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.6469, allocations: 317.4 kB / 0.8471 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.647, allocations: 17.81 kB / 0.8472 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.647, allocations: 19.5 kB / 0.8472 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.6475, allocations: 278.6 kB / 0.8474 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6475, allocations: 3.938 kB / 0.8474 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.6475, allocations: 10.22 kB / 0.8475 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.6475, allocations: 4.625 kB / 0.8475 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.6479, allocations: 193.3 kB / 0.8476 GB, free: 12.89 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.001296/0.6492, allocations: 1.22 MB / 0.8488 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.6495, allocations: 140.5 kB / 0.849 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.6496, allocations: 86.19 kB / 0.849 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.6502, allocations: 304.6 kB / 0.8493 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6502, allocations: 38.5 kB / 0.8494 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.6502, allocations: 3.938 kB / 0.8494 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007172/0.6509, allocations: 279.1 kB / 0.8496 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.651, allocations: 58.41 kB / 0.8497 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.6513, allocations: 317.4 kB / 0.85 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.6513, allocations: 28.39 kB / 0.85 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6514, allocations: 183.2 kB / 0.8502 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.6515, allocations: 58.5 kB / 0.8503 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.6516, allocations: 43.61 kB / 0.8503 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6517, allocations: 338.4 kB / 0.8506 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.6518, allocations: 67.11 kB / 0.8507 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.652, allocations: 124.8 kB / 0.8508 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.6524, allocations: 190.8 kB / 0.851 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6524, allocations: 2.75 kB / 0.851 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004114/0.6528, allocations: 235.4 kB / 0.8512 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6528, allocations: 7.812 kB / 0.8512 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6528, allocations: 0 / 0.8512 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6528, allocations: 6.25 kB / 0.8512 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.653, allocations: 46.34 kB / 0.8513 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.6531, allocations: 2.594 kB / 0.8513 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.6532, allocations: 34.05 kB / 0.8513 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.6533, allocations: 7.812 kB / 0.8513 GB, free: 9.824 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.0001211/0.6534, allocations: 154.8 kB / 0.8515 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.6535, allocations: 31.38 kB / 0.8515 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.6539, allocations: 215.9 kB / 0.8517 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6539, allocations: 2.375 kB / 0.8517 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6539, allocations: 0.625 kB / 0.8517 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6539, allocations: 0 / 0.8517 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.6549, allocations: 0.6814 MB / 0.8524 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6549, allocations: 6.484 kB / 0.8524 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.655, allocations: 32.27 kB / 0.8524 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6551, allocations: 2.828 kB / 0.8524 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6551, allocations: 8.688 kB / 0.8524 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6551, allocations: 6.312 kB / 0.8524 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6551, allocations: 6.469 kB / 0.8524 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.6557, allocations: 437.6 kB / 0.8528 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6558, allocations: 120.7 kB / 0.853 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6559, allocations: 15.92 kB / 0.853 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.656, allocations: 4 kB / 0.853 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.6561, allocations: 27.98 kB / 0.853 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.6561, allocations: 7.938 kB / 0.853 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000195/0.6563, allocations: 227 kB / 0.8532 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6563, allocations: 0 / 0.8532 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003819/0.6567, allocations: 76 kB / 0.8533 GB, free: 8.082 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.0004104/0.6571, allocations: 174.2 kB / 0.8535 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.6575, allocations: 174.9 kB / 0.8536 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6575, allocations: 4 kB / 0.8536 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.6577, allocations: 84.52 kB / 0.8537 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.6586, allocations: 170.4 kB / 0.8539 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.6595, allocations: 0.6343 MB / 0.8545 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6598, allocations: 0.7717 MB / 0.8553 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.6599, allocations: 27.44 kB / 0.8553 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.6599, allocations: 0 / 0.8553 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of Templates: time 0.006817/0.6667, allocations: 4.89 MB / 0.8601 GB, free: 1.145 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)