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.004806/0.004806, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.001119/0.001119, allocations: 199 kB / 16.68 MB, free: 5.965 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.9411/0.9411, allocations: 143 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.89 kB / 0.5951 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3771, allocations: 82.03 MB / 0.6752 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1642/0.5413, allocations: 167.4 MB / 0.8387 GB, free: 14.4 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.544, allocations: 1.557 MB / 0.8402 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.5445, allocations: 11.94 kB / 0.8402 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.5451, allocations: 150.8 kB / 0.8403 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.5471, allocations: 0.7391 MB / 0.841 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.5486, allocations: 0.6034 MB / 0.8416 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.5496, allocations: 0.709 MB / 0.8423 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.55, allocations: 229.1 kB / 0.8425 GB, free: 10.41 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006777/0.5507, allocations: 346.7 kB / 0.8429 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.551, allocations: 211.1 kB / 0.8431 GB, free: 9.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.5511, allocations: 24 kB / 0.8431 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.5526, allocations: 0.8767 MB / 0.844 GB, free: 8.957 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.5527, allocations: 107.7 kB / 0.8441 GB, free: 8.852 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.5529, allocations: 167.2 kB / 0.8442 GB, free: 8.688 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.554, allocations: 0.7417 MB / 0.8449 GB, free: 7.949 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.554, allocations: 0 / 0.8449 GB, free: 7.949 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5541, allocations: 0 / 0.8449 GB, free: 7.949 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5541, allocations: 0 / 0.8449 GB, free: 7.949 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.0009104/0.555, allocations: 0.6614 MB / 0.8456 GB, free: 7.238 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.555, allocations: 12.03 kB / 0.8456 GB, free: 7.227 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.5551, allocations: 62.53 kB / 0.8457 GB, free: 7.156 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.5563, allocations: 155.6 kB / 0.8458 GB, free: 7.004 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.5568, allocations: 321.9 kB / 0.8461 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5568, allocations: 16.44 kB / 0.8461 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.5569, allocations: 20 kB / 0.8462 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.5573, allocations: 287.3 kB / 0.8464 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5574, allocations: 0 / 0.8464 GB, free: 6.312 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.5574, allocations: 12 kB / 0.8464 GB, free: 6.301 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5574, allocations: 8 kB / 0.8464 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.5578, allocations: 195.8 kB / 0.8466 GB, free: 6.102 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.001338/0.5592, allocations: 1.206 MB / 0.8478 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.5594, allocations: 138.4 kB / 0.8479 GB, free: 4.648 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5596, allocations: 100.8 kB / 0.848 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.5602, allocations: 303.2 kB / 0.8483 GB, free: 4.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5602, allocations: 38.5 kB / 0.8484 GB, free: 4.148 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5602, allocations: 0 / 0.8484 GB, free: 4.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007628/0.561, allocations: 277.6 kB / 0.8486 GB, free: 3.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.561, allocations: 55.34 kB / 0.8487 GB, free: 3.805 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.5614, allocations: 316.5 kB / 0.849 GB, free: 3.488 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5614, allocations: 33.7 kB / 0.849 GB, free: 3.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.5615, allocations: 184.3 kB / 0.8492 GB, free: 3.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.5616, allocations: 55.55 kB / 0.8492 GB, free: 3.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.5616, allocations: 45.7 kB / 0.8493 GB, free: 3.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5618, allocations: 334.8 kB / 0.8496 GB, free: 2.824 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.5619, allocations: 63.95 kB / 0.8497 GB, free: 2.762 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.5621, allocations: 129 kB / 0.8498 GB, free: 2.617 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.5625, allocations: 189 kB / 0.85 GB, free: 2.414 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5625, allocations: 0 / 0.85 GB, free: 2.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004564/0.563, allocations: 253.1 kB / 0.8502 GB, free: 2.164 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.563, allocations: 9.875 kB / 0.8502 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.563, allocations: 0 / 0.8502 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.563, allocations: 4 kB / 0.8502 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.5632, allocations: 43.91 kB / 0.8503 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.5632, allocations: 4 kB / 0.8503 GB, free: 2.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5634, allocations: 31.77 kB / 0.8503 GB, free: 2.074 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.5635, allocations: 12.09 kB / 0.8503 GB, free: 2.062 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.0001354/0.5636, allocations: 153.7 kB / 0.8505 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.5637, allocations: 31.81 kB / 0.8505 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.5641, allocations: 215.3 kB / 0.8507 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5642, allocations: 4 kB / 0.8507 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5642, allocations: 0 / 0.8507 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5642, allocations: 0 / 0.8507 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.5652, allocations: 0.6953 MB / 0.8514 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5652, allocations: 8.031 kB / 0.8514 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.5654, allocations: 27.98 kB / 0.8514 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.5654, allocations: 7.938 kB / 0.8514 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5654, allocations: 4 kB / 0.8514 GB, free: 0.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5654, allocations: 7.938 kB / 0.8514 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5654, allocations: 7.938 kB / 0.8514 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.5661, allocations: 433.2 kB / 0.8519 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5662, allocations: 124.9 kB / 0.852 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.5662, allocations: 15.94 kB / 0.852 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.5664, allocations: 4 kB / 0.852 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5665, allocations: 19.92 kB / 0.852 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5665, allocations: 7.984 kB / 0.852 GB, free: 172 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002088/0.5667, allocations: 223.1 kB / 0.8522 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5667, allocations: 0 / 0.8522 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003958/0.5671, allocations: 83.92 kB / 0.8523 GB, free: 15.87 MB / 0.6856 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.001115/0.5682, allocations: 1.027 MB / 0.8533 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.5687, allocations: 176 kB / 0.8535 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5687, allocations: 3.938 kB / 0.8535 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.5689, allocations: 87.88 kB / 0.8536 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.5698, allocations: 155.7 kB / 0.8537 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.5732, allocations: 2.927 MB / 0.8566 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5736, allocations: 0.7756 MB / 0.8573 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.5738, allocations: 63.06 kB / 0.8574 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.5739, allocations: 91.41 kB / 0.8575 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.5739, allocations: 0 / 0.8575 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.6035, allocations: 8.87 MB / 0.8661 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.428, allocations: 3.562 kB / 0.8661 GB, free: 1.695 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)