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.005442/0.005442, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001221/0.001221, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.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.9733/0.9733, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3912, allocations: 82.03 MB / 0.6756 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1779/0.5691, allocations: 167.4 MB / 0.8391 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.5719, allocations: 1.558 MB / 0.8406 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.5723, allocations: 11.94 kB / 0.8407 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.5728, allocations: 146.8 kB / 0.8408 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.5745, allocations: 0.7 MB / 0.8415 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.5759, allocations: 0.6029 MB / 0.8421 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.5768, allocations: 0.7051 MB / 0.8428 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.5772, allocations: 233.1 kB / 0.843 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.5778, allocations: 330.8 kB / 0.8433 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.5782, allocations: 227.1 kB / 0.8435 GB, free: 9.973 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.5783, allocations: 20 kB / 0.8435 GB, free: 9.953 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5798, allocations: 0.8689 MB / 0.8444 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.58, allocations: 103.7 kB / 0.8445 GB, free: 8.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.5802, allocations: 171.1 kB / 0.8446 GB, free: 8.812 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.5816, allocations: 0.7344 MB / 0.8454 GB, free: 8.078 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5816, allocations: 0 / 0.8454 GB, free: 8.078 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5816, allocations: 0 / 0.8454 GB, free: 8.078 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.5816, allocations: 0 / 0.8454 GB, free: 8.078 MB / 0.67 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.000944/0.5826, allocations: 0.6582 MB / 0.846 GB, free: 7.371 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5826, allocations: 8.031 kB / 0.846 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5837, allocations: 155.4 kB / 0.8462 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.5843, allocations: 317.7 kB / 0.8465 GB, free: 6.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.5843, allocations: 20.44 kB / 0.8465 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.5844, allocations: 20 kB / 0.8465 GB, free: 6.82 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.5849, allocations: 279.4 kB / 0.8468 GB, free: 6.527 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5849, allocations: 0 / 0.8468 GB, free: 6.527 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.5849, allocations: 15.94 kB / 0.8468 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.5849, allocations: 4 kB / 0.8468 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.5853, allocations: 199.8 kB / 0.847 GB, free: 6.312 MB / 0.67 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.001405/0.5868, allocations: 1.21 MB / 0.8482 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.587, allocations: 134.5 kB / 0.8483 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.5872, allocations: 92.8 kB / 0.8484 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.5878, allocations: 303.2 kB / 0.8487 GB, free: 4.414 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5878, allocations: 38.5 kB / 0.8487 GB, free: 4.367 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5878, allocations: 0 / 0.8487 GB, free: 4.367 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007069/0.5885, allocations: 284.1 kB / 0.849 GB, free: 4.086 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5886, allocations: 59.41 kB / 0.849 GB, free: 4.016 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.5888, allocations: 316.5 kB / 0.8493 GB, free: 3.699 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.5889, allocations: 29.7 kB / 0.8494 GB, free: 3.664 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.589, allocations: 180.2 kB / 0.8495 GB, free: 3.484 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.5891, allocations: 55.2 kB / 0.8496 GB, free: 3.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.5892, allocations: 45.61 kB / 0.8496 GB, free: 3.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5893, allocations: 342.8 kB / 0.85 GB, free: 3.035 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5895, allocations: 63.95 kB / 0.85 GB, free: 2.973 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.5897, allocations: 129 kB / 0.8501 GB, free: 2.828 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.59, allocations: 181 kB / 0.8503 GB, free: 2.633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.59, allocations: 4 kB / 0.8503 GB, free: 2.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004453/0.5905, allocations: 240.6 kB / 0.8505 GB, free: 2.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5905, allocations: 7.984 kB / 0.8506 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5905, allocations: 0 / 0.8506 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5905, allocations: 4 kB / 0.8506 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5907, allocations: 43.92 kB / 0.8506 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.5908, allocations: 4 kB / 0.8506 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.5909, allocations: 31.77 kB / 0.8506 GB, free: 2.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.591, allocations: 12 kB / 0.8506 GB, free: 2.289 MB / 0.67 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.0001401/0.5911, allocations: 153.8 kB / 0.8508 GB, free: 2.129 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.5912, allocations: 31.62 kB / 0.8508 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.5916, allocations: 216.3 kB / 0.851 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5916, allocations: 4 kB / 0.851 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5916, allocations: 4 kB / 0.851 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5916, allocations: 0 / 0.851 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.5926, allocations: 0.6759 MB / 0.8517 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5926, allocations: 4 kB / 0.8517 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5928, allocations: 31.92 kB / 0.8517 GB, free: 1.082 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.5928, allocations: 11.92 kB / 0.8517 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5928, allocations: 7.984 kB / 0.8517 GB, free: 1.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.5928, allocations: 4 kB / 0.8518 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.5928, allocations: 4 kB / 0.8518 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.5934, allocations: 441.1 kB / 0.8522 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5936, allocations: 128.7 kB / 0.8523 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.5936, allocations: 7.938 kB / 0.8523 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5938, allocations: 15.92 kB / 0.8523 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.5938, allocations: 15.92 kB / 0.8523 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5939, allocations: 8 kB / 0.8523 GB, free: 404 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002032/0.5941, allocations: 227 kB / 0.8526 GB, free: 180 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5941, allocations: 4.062 kB / 0.8526 GB, free: 176 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003693/0.5944, allocations: 75.91 kB / 0.8526 GB, free: 100 kB / 0.67 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.0003783/0.5948, allocations: 168.1 kB / 0.8528 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.5953, allocations: 175.8 kB / 0.853 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5953, allocations: 3.938 kB / 0.853 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.5955, allocations: 83.88 kB / 0.853 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.5963, allocations: 174.3 kB / 0.8532 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.5972, allocations: 0.5899 MB / 0.8538 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5975, allocations: 0.7756 MB / 0.8545 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.5977, allocations: 70.92 kB / 0.8546 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.5978, allocations: 23.44 kB / 0.8546 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.5978, allocations: 0 / 0.8546 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of Templates: time 0.0104/0.6082, allocations: 5.892 MB / 0.8604 GB, free: 8.176 MB / 0.6856 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)