Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_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.005622/0.005622, allocations: 99.16 kB / 15.73 MB, free: 6.059 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.001372/0.001372, allocations: 192.9 kB / 16.67 MB, free: 5.977 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 282.9 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 102.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.145, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4806/0.6256, allocations: 165.3 MB / 0.9273 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.6284, allocations: 1.554 MB / 0.9288 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.6288, allocations: 11.94 kB / 0.9288 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.6294, allocations: 146.9 kB / 0.929 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.6308, allocations: 485.8 kB / 0.9294 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.6327, allocations: 0.7629 MB / 0.9302 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.6336, allocations: 0.7059 MB / 0.9309 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.6341, allocations: 270.5 kB / 0.9311 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006677/0.6348, allocations: 314.9 kB / 0.9314 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.6352, allocations: 223.1 kB / 0.9316 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.076e-05/0.6352, allocations: 24 kB / 0.9317 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.6368, allocations: 0.8769 MB / 0.9325 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.6369, allocations: 115.7 kB / 0.9326 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.6372, allocations: 155.2 kB / 0.9328 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.6385, allocations: 0.753 MB / 0.9335 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6385, allocations: 0 / 0.9335 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6385, allocations: 4 kB / 0.9335 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6386, allocations: 0 / 0.9335 GB, free: 7.512 MB / 0.6856 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.001192/0.6398, allocations: 0.6888 MB / 0.9342 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6398, allocations: 12.03 kB / 0.9342 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.6399, allocations: 58.53 kB / 0.9343 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.6404, allocations: 87.66 kB / 0.9343 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.6409, allocations: 314 kB / 0.9346 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6409, allocations: 24.56 kB / 0.9347 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.641, allocations: 24 kB / 0.9347 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.6416, allocations: 328.2 kB / 0.935 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6417, allocations: 0 / 0.935 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.6417, allocations: 12 kB / 0.935 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6417, allocations: 7.938 kB / 0.935 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.6424, allocations: 297.3 kB / 0.9353 GB, free: 5.57 MB / 0.6856 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.001691/0.6441, allocations: 1.06 MB / 0.9363 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.6451, allocations: 329.4 kB / 0.9367 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.6454, allocations: 136.8 kB / 0.9368 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/0.6461, allocations: 388.3 kB / 0.9372 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6461, allocations: 38.56 kB / 0.9372 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.6461, allocations: 0 / 0.9372 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001199/0.6473, allocations: 415.3 kB / 0.9376 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.6473, allocations: 55.41 kB / 0.9376 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.6476, allocations: 267 kB / 0.9379 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.6476, allocations: 29.7 kB / 0.9379 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6478, allocations: 172.3 kB / 0.9381 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.6478, allocations: 67.42 kB / 0.9381 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.6479, allocations: 45.7 kB / 0.9382 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.648, allocations: 334.8 kB / 0.9385 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.6483, allocations: 107.9 kB / 0.9386 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.6487, allocations: 163.5 kB / 0.9388 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.6493, allocations: 275 kB / 0.939 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6493, allocations: 0 / 0.939 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007161/0.65, allocations: 313.2 kB / 0.9393 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6501, allocations: 12.16 kB / 0.9393 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6501, allocations: 3.984 kB / 0.9393 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6501, allocations: 7.938 kB / 0.9394 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.6504, allocations: 48.66 kB / 0.9394 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.6504, allocations: 11.92 kB / 0.9394 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.6506, allocations: 39.77 kB / 0.9395 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.6507, allocations: 11.98 kB / 0.9395 GB, free: 1.043 MB / 0.6856 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.0001376/0.6508, allocations: 153.8 kB / 0.9396 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.6509, allocations: 23.86 kB / 0.9396 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.6517, allocations: 324.3 kB / 0.9399 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.6517, allocations: 3.938 kB / 0.9399 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6517, allocations: 4 kB / 0.9399 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6517, allocations: 0 / 0.9399 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.6533, allocations: 0.9312 MB / 0.9409 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6533, allocations: 7.984 kB / 0.9409 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.6535, allocations: 51.89 kB / 0.9409 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6536, allocations: 0 / 0.9409 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.6536, allocations: 8.188 kB / 0.9409 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6536, allocations: 8 kB / 0.9409 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6536, allocations: 0 / 0.9409 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.6547, allocations: 0.5587 MB / 0.9415 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.6548, allocations: 124.8 kB / 0.9416 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.6549, allocations: 16 kB / 0.9416 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6551, allocations: 19.97 kB / 0.9416 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.6552, allocations: 23.91 kB / 0.9417 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.6552, allocations: 12 kB / 0.9417 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001684/0.6554, allocations: 190 kB / 0.9418 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6554, allocations: 0 / 0.9418 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004526/0.6559, allocations: 111.8 kB / 0.942 GB, free: 14.32 MB / 0.7012 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.001656/0.6575, allocations: 1.199 MB / 0.9431 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007074/0.6582, allocations: 259.9 kB / 0.9434 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6583, allocations: 4.062 kB / 0.9434 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.6586, allocations: 143.7 kB / 0.9435 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.6594, allocations: 138.9 kB / 0.9436 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.6634, allocations: 2.959 MB / 0.9465 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.6637, allocations: 0.7794 MB / 0.9473 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.664, allocations: 71.09 kB / 0.9474 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.6641, allocations: 91.34 kB / 0.9474 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/0.6641, allocations: 0 / 0.9474 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.6925, allocations: 8.956 MB / 0.9562 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/8.209, allocations: 8.281 kB / 0.9562 GB, free: 15.74 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)