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.0074/0.0074, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001472/0.001472, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.371/1.371, allocations: 222.9 MB / 240.4 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.8541/0.8541, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 64.25 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 82.04 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4998/0.6663, allocations: 167.4 MB / 0.8391 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.6692, allocations: 1.558 MB / 0.8406 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.6696, allocations: 15.81 kB / 0.8407 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.6701, allocations: 152.8 kB / 0.8408 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.6718, allocations: 0.6921 MB / 0.8415 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.6732, allocations: 0.5984 MB / 0.8421 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.6739, allocations: 0.6996 MB / 0.8427 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/0.6743, allocations: 237 kB / 0.843 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005454/0.6749, allocations: 339 kB / 0.8433 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.6751, allocations: 223.5 kB / 0.8435 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.6752, allocations: 22.84 kB / 0.8435 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.6764, allocations: 0.8658 MB / 0.8444 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.6766, allocations: 114.9 kB / 0.8445 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.6767, allocations: 162 kB / 0.8446 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.6777, allocations: 0.7456 MB / 0.8454 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.6777, allocations: 2.469 kB / 0.8454 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6777, allocations: 0 / 0.8454 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6777, allocations: 0 / 0.8454 GB, free: 14.11 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.00102/0.6788, allocations: 0.6471 MB / 0.846 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.6788, allocations: 9.719 kB / 0.846 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6799, allocations: 151.9 kB / 0.8462 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.6804, allocations: 323.8 kB / 0.8465 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.6805, allocations: 16.31 kB / 0.8465 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.6805, allocations: 23.16 kB / 0.8465 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.681, allocations: 270.5 kB / 0.8468 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.681, allocations: 10.56 kB / 0.8468 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.6811, allocations: 8 kB / 0.8468 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6811, allocations: 7.469 kB / 0.8468 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.6815, allocations: 197.6 kB / 0.847 GB, free: 12.86 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.00134/0.6828, allocations: 1.212 MB / 0.8482 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.6831, allocations: 133.2 kB / 0.8483 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.6833, allocations: 92.84 kB / 0.8484 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.6838, allocations: 302.6 kB / 0.8487 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6839, allocations: 41.09 kB / 0.8487 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.926e-06/0.6839, allocations: 3.984 kB / 0.8487 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007617/0.6847, allocations: 280.5 kB / 0.849 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.6847, allocations: 53.78 kB / 0.849 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.685, allocations: 318 kB / 0.8493 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6851, allocations: 31.77 kB / 0.8494 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6852, allocations: 185.6 kB / 0.8495 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.6853, allocations: 52.86 kB / 0.8496 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.6854, allocations: 42.64 kB / 0.8496 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6855, allocations: 338.7 kB / 0.8499 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6857, allocations: 67.14 kB / 0.85 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.6859, allocations: 123.2 kB / 0.8501 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.6862, allocations: 191.1 kB / 0.8503 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6862, allocations: 6.281 kB / 0.8503 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004387/0.6867, allocations: 241.3 kB / 0.8505 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6867, allocations: 7.688 kB / 0.8506 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6867, allocations: 0 / 0.8506 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6867, allocations: 4.875 kB / 0.8506 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.6869, allocations: 47.94 kB / 0.8506 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.6869, allocations: 1.812 kB / 0.8506 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.6871, allocations: 30.31 kB / 0.8506 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6872, allocations: 15.8 kB / 0.8507 GB, free: 9.801 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.0001363/0.6873, allocations: 150 kB / 0.8508 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.6874, allocations: 28.56 kB / 0.8508 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.6878, allocations: 214.3 kB / 0.851 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6878, allocations: 1.906 kB / 0.851 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6878, allocations: 4.875 kB / 0.851 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6878, allocations: 2.75 kB / 0.851 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/0.6888, allocations: 0.6826 MB / 0.8517 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6888, allocations: 3.281 kB / 0.8517 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.689, allocations: 36.97 kB / 0.8517 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.689, allocations: 2.531 kB / 0.8517 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.689, allocations: 11.31 kB / 0.8518 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.689, allocations: 1.812 kB / 0.8518 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.689, allocations: 3.219 kB / 0.8518 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.6897, allocations: 438.4 kB / 0.8522 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6898, allocations: 124.7 kB / 0.8523 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.6899, allocations: 11.92 kB / 0.8523 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.69, allocations: 9.125 kB / 0.8523 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.6901, allocations: 19.86 kB / 0.8523 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.6901, allocations: 8 kB / 0.8523 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002135/0.6903, allocations: 227 kB / 0.8526 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6903, allocations: 4.062 kB / 0.8526 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003637/0.6907, allocations: 76 kB / 0.8526 GB, free: 8.055 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.000434/0.6912, allocations: 163.5 kB / 0.8528 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.6916, allocations: 179.1 kB / 0.853 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6916, allocations: 0 / 0.853 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.6918, allocations: 87.83 kB / 0.853 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.6926, allocations: 169.9 kB / 0.8532 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.6936, allocations: 0.5977 MB / 0.8538 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6939, allocations: 0.7717 MB / 0.8545 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.6941, allocations: 72.48 kB / 0.8546 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.6942, allocations: 23.44 kB / 0.8546 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.6942, allocations: 0 / 0.8546 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.01015/0.7043, allocations: 5.791 MB / 0.8603 GB, free: 240 kB / 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)