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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.004859/0.004859, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001323/0.001324, allocations: 194 kB / 16.67 MB, free: 5.953 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8795/0.8795, allocations: 143.3 MB / 433.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003086/0.003086, allocations: 72.03 kB / 0.5953 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1715, allocations: 82.03 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5007/0.6722, allocations: 167.4 MB / 0.8389 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002644/0.6749, allocations: 1.55 MB / 0.8404 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.6751, allocations: 11.72 kB / 0.8404 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.6756, allocations: 157.3 kB / 0.8406 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.6773, allocations: 0.6964 MB / 0.8413 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.6788, allocations: 0.5985 MB / 0.8419 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000753/0.6796, allocations: 0.6982 MB / 0.8425 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.6799, allocations: 228.6 kB / 0.8428 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.6805, allocations: 338.4 kB / 0.8431 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.6808, allocations: 221.2 kB / 0.8433 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.6808, allocations: 26.88 kB / 0.8433 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.6822, allocations: 0.8737 MB / 0.8442 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.6823, allocations: 107 kB / 0.8443 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.6825, allocations: 162 kB / 0.8444 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.6835, allocations: 0.7461 MB / 0.8452 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6835, allocations: 0 / 0.8452 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6835, allocations: 0 / 0.8452 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6835, allocations: 0 / 0.8452 GB, free: 13.95 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.0009073/0.6844, allocations: 0.6602 MB / 0.8458 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6845, allocations: 11.16 kB / 0.8458 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.6845, allocations: 66.22 kB / 0.8459 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.6856, allocations: 156.2 kB / 0.846 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.6862, allocations: 323.5 kB / 0.8463 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.6862, allocations: 18.88 kB / 0.8463 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.6862, allocations: 16.56 kB / 0.8464 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.6868, allocations: 284.8 kB / 0.8466 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.6868, allocations: 4 kB / 0.8466 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.6868, allocations: 10.5 kB / 0.8466 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6868, allocations: 5.062 kB / 0.8467 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.6872, allocations: 188.7 kB / 0.8468 GB, free: 12.61 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.001454/0.6887, allocations: 1.218 MB / 0.848 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.689, allocations: 135.5 kB / 0.8482 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.6892, allocations: 96.86 kB / 0.8482 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.6898, allocations: 297.3 kB / 0.8485 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6898, allocations: 34.5 kB / 0.8486 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.6898, allocations: 7.219 kB / 0.8486 GB, free: 11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007395/0.6906, allocations: 274.7 kB / 0.8488 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6906, allocations: 53.34 kB / 0.8489 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.691, allocations: 320.5 kB / 0.8492 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.691, allocations: 28.42 kB / 0.8492 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.6911, allocations: 191.7 kB / 0.8494 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.6912, allocations: 54.39 kB / 0.8494 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.6913, allocations: 43.61 kB / 0.8495 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6914, allocations: 338.2 kB / 0.8498 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.6916, allocations: 60.48 kB / 0.8499 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.6918, allocations: 132.5 kB / 0.85 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.6922, allocations: 190.3 kB / 0.8502 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6922, allocations: 3.031 kB / 0.8502 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004464/0.6926, allocations: 242.1 kB / 0.8504 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6927, allocations: 7.688 kB / 0.8504 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6927, allocations: 3.938 kB / 0.8504 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6927, allocations: 2.562 kB / 0.8504 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6929, allocations: 40.53 kB / 0.8505 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6929, allocations: 6.5 kB / 0.8505 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.6931, allocations: 39.67 kB / 0.8505 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.6932, allocations: 6.812 kB / 0.8505 GB, free: 9.547 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.0001523/0.6933, allocations: 151.8 kB / 0.8507 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.6934, allocations: 30.94 kB / 0.8507 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.6938, allocations: 219.5 kB / 0.8509 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6939, allocations: 2.125 kB / 0.8509 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6939, allocations: 0 / 0.8509 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6939, allocations: 11.92 kB / 0.8509 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6949, allocations: 0.6867 MB / 0.8516 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6949, allocations: 0 / 0.8516 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.6951, allocations: 32.77 kB / 0.8516 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6951, allocations: 6.344 kB / 0.8516 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.6951, allocations: 5.25 kB / 0.8516 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6951, allocations: 3.438 kB / 0.8516 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6951, allocations: 2.375 kB / 0.8516 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.6958, allocations: 435.5 kB / 0.852 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6959, allocations: 124.6 kB / 0.8522 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.696, allocations: 10.66 kB / 0.8522 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6961, allocations: 8.797 kB / 0.8522 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.6962, allocations: 19.33 kB / 0.8522 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.6962, allocations: 5.969 kB / 0.8522 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002071/0.6964, allocations: 222.7 kB / 0.8524 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6964, allocations: 64 / 0.8524 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004064/0.6968, allocations: 86.58 kB / 0.8525 GB, free: 7.953 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.00127/0.6981, allocations: 1.029 MB / 0.8535 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.6986, allocations: 175.7 kB / 0.8537 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6986, allocations: 4 kB / 0.8537 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.6988, allocations: 92.44 kB / 0.8538 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.6997, allocations: 168.7 kB / 0.8539 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.7035, allocations: 2.896 MB / 0.8568 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.7039, allocations: 0.7795 MB / 0.8575 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000203/0.7042, allocations: 66.92 kB / 0.8576 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.7043, allocations: 91.34 kB / 0.8577 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.7043, allocations: 0 / 0.8577 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.7372, allocations: 8.882 MB / 0.8663 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.574, allocations: 6.719 kB / 0.8663 GB, free: 9.777 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)