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.008468/0.008468, allocations: 98.53 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.001954/0.001954, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.9932/0.9932, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 67.89 kB / 0.5951 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4453, allocations: 82.02 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1851/0.6304, allocations: 167.4 MB / 0.8387 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.6332, allocations: 1.551 MB / 0.8402 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.6337, allocations: 15.94 kB / 0.8402 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.6343, allocations: 154.8 kB / 0.8403 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6362, allocations: 0.6961 MB / 0.841 GB, free: 12 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.6379, allocations: 0.5996 MB / 0.8416 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.6389, allocations: 0.7051 MB / 0.8423 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.6394, allocations: 237 kB / 0.8425 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/0.6402, allocations: 338.7 kB / 0.8428 GB, free: 10.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.6405, allocations: 219.1 kB / 0.843 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.6406, allocations: 28 kB / 0.8431 GB, free: 9.895 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.6421, allocations: 0.8611 MB / 0.8439 GB, free: 9.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.6423, allocations: 111.7 kB / 0.844 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.6425, allocations: 167.1 kB / 0.8442 GB, free: 8.758 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.644, allocations: 0.7324 MB / 0.8449 GB, free: 8.023 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.644, allocations: 0 / 0.8449 GB, free: 8.023 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.833e-06/0.644, allocations: 0 / 0.8449 GB, free: 8.023 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.644, allocations: 4 kB / 0.8449 GB, free: 8.02 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.001043/0.645, allocations: 0.6582 MB / 0.8455 GB, free: 7.312 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6451, allocations: 8.031 kB / 0.8455 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.6452, allocations: 54.55 kB / 0.8456 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6464, allocations: 151.5 kB / 0.8457 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.6469, allocations: 325.7 kB / 0.8461 GB, free: 6.734 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6469, allocations: 16.44 kB / 0.8461 GB, free: 6.719 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.647, allocations: 24 kB / 0.8461 GB, free: 6.695 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.6475, allocations: 279.4 kB / 0.8464 GB, free: 6.402 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.6475, allocations: 3.938 kB / 0.8464 GB, free: 6.398 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6475, allocations: 8 kB / 0.8464 GB, free: 6.391 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.6475, allocations: 8 kB / 0.8464 GB, free: 6.383 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.6479, allocations: 191.8 kB / 0.8466 GB, free: 6.195 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.001407/0.6494, allocations: 1.214 MB / 0.8477 GB, free: 4.879 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.6496, allocations: 134.5 kB / 0.8479 GB, free: 4.738 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.6498, allocations: 91.61 kB / 0.848 GB, free: 4.648 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.6504, allocations: 303.2 kB / 0.8482 GB, free: 4.297 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.6504, allocations: 42.5 kB / 0.8483 GB, free: 4.246 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.644e-06/0.6505, allocations: 0 / 0.8483 GB, free: 4.246 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007522/0.6512, allocations: 277.4 kB / 0.8486 GB, free: 3.969 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6513, allocations: 55.41 kB / 0.8486 GB, free: 3.902 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.6516, allocations: 316.5 kB / 0.8489 GB, free: 3.586 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.6516, allocations: 33.64 kB / 0.8489 GB, free: 3.547 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.6517, allocations: 184.1 kB / 0.8491 GB, free: 3.363 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.6518, allocations: 51.3 kB / 0.8492 GB, free: 3.312 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.6519, allocations: 45.61 kB / 0.8492 GB, free: 3.262 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.652, allocations: 338.8 kB / 0.8495 GB, free: 2.922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6522, allocations: 71.94 kB / 0.8496 GB, free: 2.852 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6524, allocations: 125 kB / 0.8497 GB, free: 2.711 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.6527, allocations: 185 kB / 0.8499 GB, free: 2.512 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6527, allocations: 4 kB / 0.8499 GB, free: 2.508 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004557/0.6532, allocations: 237.2 kB / 0.8501 GB, free: 2.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6532, allocations: 4 kB / 0.8501 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6532, allocations: 7.984 kB / 0.8501 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.6533, allocations: 0 / 0.8501 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.6535, allocations: 43.92 kB / 0.8502 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6535, allocations: 4 kB / 0.8502 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.6537, allocations: 35.77 kB / 0.8502 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.6537, allocations: 8 kB / 0.8502 GB, free: 2.168 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.0001424/0.6539, allocations: 157.7 kB / 0.8504 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.6539, allocations: 31.62 kB / 0.8504 GB, free: 1.973 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.6544, allocations: 216.3 kB / 0.8506 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6544, allocations: 0 / 0.8506 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6544, allocations: 4 kB / 0.8506 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6544, allocations: 0 / 0.8506 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/0.6554, allocations: 0.6912 MB / 0.8513 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6554, allocations: 3.938 kB / 0.8513 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.6556, allocations: 27.98 kB / 0.8513 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6556, allocations: 7.938 kB / 0.8513 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.6556, allocations: 11.98 kB / 0.8513 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6556, allocations: 0 / 0.8513 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6556, allocations: 11.88 kB / 0.8514 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.6563, allocations: 431.3 kB / 0.8518 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6564, allocations: 128.6 kB / 0.8519 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.6564, allocations: 4 kB / 0.8519 GB, free: 320 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6566, allocations: 11.98 kB / 0.8519 GB, free: 308 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.6567, allocations: 19.86 kB / 0.8519 GB, free: 288 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6567, allocations: 12 kB / 0.8519 GB, free: 276 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002007/0.6569, allocations: 219.1 kB / 0.8521 GB, free: 60 kB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6569, allocations: 4 kB / 0.8521 GB, free: 56 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003936/0.6573, allocations: 79.95 kB / 0.8522 GB, free: 15.97 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.001154/0.6585, allocations: 1.025 MB / 0.8532 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.6589, allocations: 179.3 kB / 0.8534 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6589, allocations: 0 / 0.8534 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.6591, allocations: 88.45 kB / 0.8535 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.66, allocations: 165.6 kB / 0.8536 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.6637, allocations: 2.908 MB / 0.8565 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.6641, allocations: 0.7795 MB / 0.8572 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002741/0.6644, allocations: 62.92 kB / 0.8573 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.6646, allocations: 91.41 kB / 0.8574 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.6646, allocations: 4 kB / 0.8574 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.6941, allocations: 8.974 MB / 0.8661 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.697, allocations: 18.75 kB / 0.8662 GB, free: 1.691 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 & /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)