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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001168, allocations: 191.6 kB / 16.14 MB, free: 6.688 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.8545/0.8545, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1291, allocations: 82.04 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3442/0.4734, allocations: 165.1 MB / 0.755 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.4755, allocations: 1.563 MB / 0.7565 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.4757, allocations: 7.938 kB / 0.7565 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.476, allocations: 119.2 kB / 0.7566 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.4773, allocations: 0.6653 MB / 0.7573 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4784, allocations: 0.5511 MB / 0.7578 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.4791, allocations: 0.9781 MB / 0.7588 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.4794, allocations: 201.3 kB / 0.759 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.4798, allocations: 306.7 kB / 0.7593 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.4801, allocations: 227.1 kB / 0.7595 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4801, allocations: 16 kB / 0.7595 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4815, allocations: 1.017 MB / 0.7605 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4816, allocations: 95.69 kB / 0.7606 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.4818, allocations: 159.2 kB / 0.7607 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.4828, allocations: 0.7713 MB / 0.7615 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4828, allocations: 0 / 0.7615 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.71e-07/0.4828, allocations: 0 / 0.7615 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4828, allocations: 8 kB / 0.7615 GB, free: 1.949 MB / 0.5762 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.0007962/0.4836, allocations: 0.6504 MB / 0.7621 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4836, allocations: 8.031 kB / 0.7621 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.4837, allocations: 58.53 kB / 0.7622 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4848, allocations: 152.2 kB / 0.7623 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.4851, allocations: 309.7 kB / 0.7626 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4852, allocations: 20.44 kB / 0.7627 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.4852, allocations: 24 kB / 0.7627 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.4857, allocations: 271.5 kB / 0.7629 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4857, allocations: 0 / 0.7629 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4857, allocations: 8 kB / 0.7629 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.4857, allocations: 8 kB / 0.763 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.4861, allocations: 203.7 kB / 0.7631 GB, free: 144 kB / 0.5762 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.001293/0.4874, allocations: 1.211 MB / 0.7643 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.4877, allocations: 134.5 kB / 0.7645 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.4879, allocations: 92.8 kB / 0.7645 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.4884, allocations: 299.2 kB / 0.7648 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.4885, allocations: 45.62 kB / 0.7649 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.4885, allocations: 0 / 0.7649 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006972/0.4892, allocations: 278.8 kB / 0.7651 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.4892, allocations: 51.41 kB / 0.7652 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.4895, allocations: 320.5 kB / 0.7655 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4895, allocations: 25.7 kB / 0.7655 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4896, allocations: 188 kB / 0.7657 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.4897, allocations: 55.2 kB / 0.7658 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.4898, allocations: 41.7 kB / 0.7658 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.4899, allocations: 342.8 kB / 0.7661 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.49, allocations: 63.95 kB / 0.7662 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4902, allocations: 129 kB / 0.7663 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.4906, allocations: 185 kB / 0.7665 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4906, allocations: 0 / 0.7665 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004194/0.491, allocations: 241.2 kB / 0.7667 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.491, allocations: 7.938 kB / 0.7667 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.491, allocations: 7.984 kB / 0.7667 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.491, allocations: 0 / 0.7667 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4912, allocations: 43.92 kB / 0.7668 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4912, allocations: 4.094 kB / 0.7668 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4914, allocations: 27.83 kB / 0.7668 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.4915, allocations: 15.98 kB / 0.7668 GB, free: 12.12 MB / 0.5919 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.0001251/0.4916, allocations: 157.6 kB / 0.767 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.4917, allocations: 27.62 kB / 0.767 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.4921, allocations: 213.1 kB / 0.7672 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4921, allocations: 4 kB / 0.7672 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4921, allocations: 0 / 0.7672 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4921, allocations: 0 / 0.7672 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.493, allocations: 0.688 MB / 0.7679 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.493, allocations: 4 kB / 0.7679 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4932, allocations: 35.91 kB / 0.7679 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4932, allocations: 7.938 kB / 0.7679 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4932, allocations: 8 kB / 0.7679 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4932, allocations: 1.031 kB / 0.7679 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4933, allocations: 11.94 kB / 0.7679 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.4938, allocations: 434.8 kB / 0.7684 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.4939, allocations: 112.8 kB / 0.7685 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.494, allocations: 15.92 kB / 0.7685 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.4942, allocations: 8 kB / 0.7685 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.4942, allocations: 20.92 kB / 0.7685 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4942, allocations: 7.984 kB / 0.7685 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001798/0.4944, allocations: 223.1 kB / 0.7687 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4944, allocations: 0 / 0.7687 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003491/0.4948, allocations: 87.89 kB / 0.7688 GB, free: 9.934 MB / 0.5919 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.001036/0.4958, allocations: 1.034 MB / 0.7698 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.4962, allocations: 172.5 kB / 0.77 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4962, allocations: 0 / 0.77 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.4964, allocations: 87.83 kB / 0.7701 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.4973, allocations: 156.7 kB / 0.7702 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.5006, allocations: 3.011 MB / 0.7732 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5008, allocations: 0.7758 MB / 0.7739 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.5011, allocations: 58.92 kB / 0.774 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5012, allocations: 95.95 kB / 0.7741 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.5012, allocations: 0 / 0.7741 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7112/1.212, allocations: 8.384 MB / 0.7822 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/1.213, allocations: 253.4 kB / 0.7825 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.989, allocations: 0 / 0.7825 GB, free: 11.96 MB / 0.6075 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)