Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",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.007145/0.007145, allocations: 95.05 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.001771/0.001771, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.9646/0.9646, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 75.88 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3722, allocations: 82.02 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.171/0.5433, allocations: 165.3 MB / 0.8366 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.5463, allocations: 1.559 MB / 0.8381 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.5468, allocations: 11.94 kB / 0.8381 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.5474, allocations: 146.9 kB / 0.8383 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.549, allocations: 489.8 kB / 0.8387 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.5511, allocations: 0.7626 MB / 0.8395 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.552, allocations: 0.702 MB / 0.8402 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.5525, allocations: 270.6 kB / 0.8404 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006518/0.5532, allocations: 322.9 kB / 0.8407 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.5535, allocations: 219.1 kB / 0.841 GB, free: 12.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.5536, allocations: 27.94 kB / 0.841 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.5552, allocations: 0.873 MB / 0.8418 GB, free: 11.15 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.5554, allocations: 111.7 kB / 0.8419 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.5556, allocations: 155.2 kB / 0.8421 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.5571, allocations: 0.768 MB / 0.8428 GB, free: 10.12 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5572, allocations: 0 / 0.8428 GB, free: 10.12 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5572, allocations: 4 kB / 0.8428 GB, free: 10.12 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.5572, allocations: 0 / 0.8428 GB, free: 10.12 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001299/0.5585, allocations: 0.6888 MB / 0.8435 GB, free: 9.379 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5586, allocations: 8.031 kB / 0.8435 GB, free: 9.371 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.672e-05/0.5586, allocations: 62.48 kB / 0.8436 GB, free: 9.301 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.5592, allocations: 91.64 kB / 0.8437 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5596, allocations: 314 kB / 0.844 GB, free: 8.863 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.5597, allocations: 24.56 kB / 0.844 GB, free: 8.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.5597, allocations: 20 kB / 0.844 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.5604, allocations: 332.2 kB / 0.8443 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5604, allocations: 7.938 kB / 0.8443 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.5605, allocations: 11.94 kB / 0.8443 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5605, allocations: 12 kB / 0.8444 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.5612, allocations: 281.5 kB / 0.8446 GB, free: 8.176 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.001686/0.5629, allocations: 1.068 MB / 0.8457 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.5638, allocations: 327.6 kB / 0.846 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.5642, allocations: 128.8 kB / 0.8461 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.5649, allocations: 396.3 kB / 0.8465 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5649, allocations: 38.56 kB / 0.8465 GB, free: 6.062 MB / 0.67 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.5649, allocations: 4 kB / 0.8465 GB, free: 6.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=19): time 0.001251/0.5662, allocations: 406.6 kB / 0.8469 GB, free: 5.656 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5662, allocations: 59.41 kB / 0.847 GB, free: 5.586 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.5665, allocations: 263 kB / 0.8472 GB, free: 5.324 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5666, allocations: 33.7 kB / 0.8472 GB, free: 5.285 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5667, allocations: 168.3 kB / 0.8474 GB, free: 5.113 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.5668, allocations: 63.44 kB / 0.8475 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.5669, allocations: 49.7 kB / 0.8475 GB, free: 4.996 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.567, allocations: 334.8 kB / 0.8478 GB, free: 4.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.5673, allocations: 103.9 kB / 0.8479 GB, free: 4.559 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.5677, allocations: 165 kB / 0.8481 GB, free: 4.379 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.5683, allocations: 280.1 kB / 0.8484 GB, free: 4.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5683, allocations: 0 / 0.8484 GB, free: 4.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007624/0.5691, allocations: 313.3 kB / 0.8487 GB, free: 3.777 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5691, allocations: 8.031 kB / 0.8487 GB, free: 3.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5691, allocations: 4.047 kB / 0.8487 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.5692, allocations: 7.922 kB / 0.8487 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5695, allocations: 55.95 kB / 0.8487 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5695, allocations: 7.875 kB / 0.8487 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.5698, allocations: 43.75 kB / 0.8488 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.5698, allocations: 12 kB / 0.8488 GB, free: 3.641 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 (24): * Single equations (assignments): 24 * 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.0001761/0.57, allocations: 153.8 kB / 0.8489 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.5701, allocations: 23.86 kB / 0.849 GB, free: 3.457 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008022/0.5709, allocations: 321.9 kB / 0.8493 GB, free: 3.137 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5709, allocations: 4 kB / 0.8493 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5709, allocations: 4 kB / 0.8493 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5709, allocations: 0 / 0.8493 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.5726, allocations: 0.9368 MB / 0.8502 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5726, allocations: 0 / 0.8502 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.5729, allocations: 55.97 kB / 0.8502 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.5729, allocations: 7.984 kB / 0.8503 GB, free: 2.023 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.573, allocations: 8.188 kB / 0.8503 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.573, allocations: 0 / 0.8503 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.573, allocations: 4 kB / 0.8503 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.5741, allocations: 0.5547 MB / 0.8508 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.5743, allocations: 132.9 kB / 0.8509 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.5743, allocations: 8.062 kB / 0.8509 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.5746, allocations: 23.97 kB / 0.851 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.5747, allocations: 23.91 kB / 0.851 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5747, allocations: 8 kB / 0.851 GB, free: 1.211 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001872/0.5749, allocations: 190 kB / 0.8512 GB, free: 1.027 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5749, allocations: 0 / 0.8512 GB, free: 1.027 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004755/0.5754, allocations: 111.8 kB / 0.8513 GB, free: 0.918 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * 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.001837/0.5772, allocations: 1.197 MB / 0.8525 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.578, allocations: 259.9 kB / 0.8527 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5781, allocations: 0 / 0.8527 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.5784, allocations: 139.7 kB / 0.8528 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.5793, allocations: 133 kB / 0.853 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.5839, allocations: 2.979 MB / 0.8559 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.5843, allocations: 0.7833 MB / 0.8566 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.5846, allocations: 66.23 kB / 0.8567 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.5847, allocations: 95.34 kB / 0.8568 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.5848, allocations: 0 / 0.8568 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.6146, allocations: 8.993 MB / 0.8656 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.32, allocations: 7.969 kB / 0.8656 GB, free: 2.27 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)