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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.006435/0.006435, allocations: 105.9 kB / 15.73 MB, free: 6 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.001227/0.001227, allocations: 189 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.365/1.365, allocations: 222.9 MB / 240.4 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.8268/0.8268, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.5 kB / 0.5951 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 82.04 MB / 0.6752 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5979/0.7683, allocations: 167.4 MB / 0.8386 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.7713, allocations: 1.554 MB / 0.8402 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.7718, allocations: 11.66 kB / 0.8402 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000514/0.7723, allocations: 152.2 kB / 0.8403 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.7741, allocations: 0.7384 MB / 0.841 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.7757, allocations: 0.6 MB / 0.8416 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008724/0.7766, allocations: 0.7103 MB / 0.8423 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.777, allocations: 237.5 kB / 0.8426 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.7776, allocations: 339 kB / 0.8429 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.7779, allocations: 226.5 kB / 0.8431 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.778, allocations: 22.69 kB / 0.8431 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.7796, allocations: 0.8725 MB / 0.844 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.7798, allocations: 106.9 kB / 0.8441 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.78, allocations: 169.7 kB / 0.8442 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.7811, allocations: 0.7309 MB / 0.8449 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7811, allocations: 0 / 0.8449 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7811, allocations: 6.406 kB / 0.8449 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.7812, allocations: 0 / 0.8449 GB, free: 14.26 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.0009423/0.7821, allocations: 0.6532 MB / 0.8456 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7821, allocations: 9.531 kB / 0.8456 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.7822, allocations: 58.64 kB / 0.8457 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.7833, allocations: 156 kB / 0.8458 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.7839, allocations: 319.5 kB / 0.8461 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.784, allocations: 15.81 kB / 0.8461 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.784, allocations: 23.34 kB / 0.8461 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.7845, allocations: 280.9 kB / 0.8464 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7845, allocations: 0 / 0.8464 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.7845, allocations: 10.38 kB / 0.8464 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.7845, allocations: 4.812 kB / 0.8464 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.7849, allocations: 193.6 kB / 0.8466 GB, free: 12.95 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.001444/0.7864, allocations: 1.224 MB / 0.8478 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.7867, allocations: 129.7 kB / 0.8479 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.7868, allocations: 99.14 kB / 0.848 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.7874, allocations: 297.8 kB / 0.8483 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.7875, allocations: 49.23 kB / 0.8484 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.7875, allocations: 0 / 0.8484 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000776/0.7883, allocations: 279.3 kB / 0.8486 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.7883, allocations: 58.08 kB / 0.8487 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.7886, allocations: 312.2 kB / 0.849 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.7887, allocations: 29.7 kB / 0.849 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.7888, allocations: 181.2 kB / 0.8492 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.7889, allocations: 52.77 kB / 0.8492 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.789, allocations: 46.61 kB / 0.8493 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7891, allocations: 342.5 kB / 0.8496 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.7893, allocations: 67.17 kB / 0.8497 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.7895, allocations: 127.2 kB / 0.8498 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.7898, allocations: 189.1 kB / 0.85 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7898, allocations: 0 / 0.85 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000418/0.7903, allocations: 237.7 kB / 0.8502 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7903, allocations: 7.812 kB / 0.8502 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7903, allocations: 8.406 kB / 0.8502 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7903, allocations: 2.625 kB / 0.8502 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.7905, allocations: 40.55 kB / 0.8502 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7905, allocations: 2.625 kB / 0.8502 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.7907, allocations: 33.27 kB / 0.8503 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.7907, allocations: 7.969 kB / 0.8503 GB, free: 9.891 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.000161/0.7909, allocations: 160.1 kB / 0.8504 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.791, allocations: 30.66 kB / 0.8505 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.7914, allocations: 212.4 kB / 0.8507 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7914, allocations: 0 / 0.8507 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7914, allocations: 3.469 kB / 0.8507 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7915, allocations: 144 / 0.8507 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009668/0.7924, allocations: 0.6832 MB / 0.8513 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7924, allocations: 8.891 kB / 0.8513 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.7926, allocations: 30.53 kB / 0.8514 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7926, allocations: 6.688 kB / 0.8514 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.7926, allocations: 6.531 kB / 0.8514 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.7926, allocations: 3.594 kB / 0.8514 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7927, allocations: 12.59 kB / 0.8514 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.7933, allocations: 427 kB / 0.8518 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.7934, allocations: 125.5 kB / 0.8519 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.7935, allocations: 17.12 kB / 0.8519 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.7936, allocations: 8.297 kB / 0.852 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.7937, allocations: 17.98 kB / 0.852 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.7937, allocations: 7.562 kB / 0.852 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002253/0.7939, allocations: 227.3 kB / 0.8522 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7939, allocations: 0 / 0.8522 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003998/0.7943, allocations: 78.16 kB / 0.8523 GB, free: 8.301 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.001139/0.7955, allocations: 1.029 MB / 0.8533 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.7959, allocations: 179.8 kB / 0.8534 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7959, allocations: 0 / 0.8534 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.7961, allocations: 87.88 kB / 0.8535 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.7969, allocations: 172.4 kB / 0.8537 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.8006, allocations: 2.897 MB / 0.8565 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.8011, allocations: 0.7795 MB / 0.8573 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.8013, allocations: 62.92 kB / 0.8573 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.8015, allocations: 91.41 kB / 0.8574 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.8015, allocations: 0 / 0.8574 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.8295, allocations: 8.865 MB / 0.8661 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.562, allocations: 11.97 kB / 0.8661 GB, free: 10.13 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)