Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_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.001174/0.001174, allocations: 104.5 kB / 16.27 MB, free: 5.965 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.001266/0.001266, allocations: 193.7 kB / 17.2 MB, free: 5.594 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.722/0.722, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3529, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.1593/0.5123, allocations: 165.2 MB / 0.7287 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002517/0.5149, allocations: 1.557 MB / 0.7302 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.5152, allocations: 11.94 kB / 0.7302 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.5156, allocations: 146.9 kB / 0.7303 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.5168, allocations: 465.8 kB / 0.7308 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5187, allocations: 0.7532 MB / 0.7315 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007946/0.5195, allocations: 0.702 MB / 0.7322 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.52, allocations: 270.5 kB / 0.7324 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.5206, allocations: 306.8 kB / 0.7327 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.5209, allocations: 231.1 kB / 0.733 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.521, allocations: 24 kB / 0.733 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.5224, allocations: 0.8652 MB / 0.7338 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5226, allocations: 107.7 kB / 0.7339 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.5228, allocations: 163.2 kB / 0.7341 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.524, allocations: 0.7247 MB / 0.7348 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.524, allocations: 0 / 0.7348 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.524, allocations: 0 / 0.7348 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.524, allocations: 4 kB / 0.7348 GB, free: 14.71 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001039/0.5251, allocations: 0.674 MB / 0.7355 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5251, allocations: 12.62 kB / 0.7355 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.5252, allocations: 62.53 kB / 0.7355 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.5256, allocations: 87.42 kB / 0.7356 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.526, allocations: 305.9 kB / 0.7359 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.526, allocations: 16.56 kB / 0.7359 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.5261, allocations: 24 kB / 0.7359 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.5267, allocations: 324.2 kB / 0.7362 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5268, allocations: 4 kB / 0.7363 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.5268, allocations: 19.94 kB / 0.7363 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.5268, allocations: 7.938 kB / 0.7363 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.5275, allocations: 289.5 kB / 0.7366 GB, free: 12.79 MB / 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.001515/0.529, allocations: 1.071 MB / 0.7376 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.5299, allocations: 321.4 kB / 0.7379 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.5302, allocations: 132.8 kB / 0.738 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.5309, allocations: 400.3 kB / 0.7384 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5309, allocations: 34.56 kB / 0.7384 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.552e-06/0.5309, allocations: 0 / 0.7384 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001154/0.5321, allocations: 411.1 kB / 0.7388 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.5321, allocations: 59.41 kB / 0.7389 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5323, allocations: 267 kB / 0.7392 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5324, allocations: 25.7 kB / 0.7392 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5325, allocations: 176.1 kB / 0.7393 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.5325, allocations: 59.11 kB / 0.7394 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.5326, allocations: 45.7 kB / 0.7394 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.5327, allocations: 334.8 kB / 0.7398 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.533, allocations: 107.9 kB / 0.7399 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.5334, allocations: 158.5 kB / 0.74 GB, free: 9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.534, allocations: 280.8 kB / 0.7403 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.534, allocations: 0 / 0.7403 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007236/0.5347, allocations: 315.4 kB / 0.7406 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5347, allocations: 12.16 kB / 0.7406 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5347, allocations: 0 / 0.7406 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5348, allocations: 7.938 kB / 0.7406 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.535, allocations: 55.89 kB / 0.7407 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.5351, allocations: 4 kB / 0.7407 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.5353, allocations: 35.81 kB / 0.7407 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.5353, allocations: 4 kB / 0.7407 GB, free: 8.277 MB / 0.5762 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.0001424/0.5355, allocations: 169.6 kB / 0.7409 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5356, allocations: 27.62 kB / 0.7409 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000755/0.5363, allocations: 319.5 kB / 0.7412 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5363, allocations: 4 kB / 0.7412 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5363, allocations: 0 / 0.7412 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5363, allocations: 0 / 0.7412 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.5378, allocations: 0.929 MB / 0.7421 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.5378, allocations: 4 kB / 0.7421 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.538, allocations: 47.91 kB / 0.7422 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.538, allocations: 256 / 0.7422 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.5381, allocations: 19.98 kB / 0.7422 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5381, allocations: 4 kB / 0.7422 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5381, allocations: 48 / 0.7422 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.5391, allocations: 0.5604 MB / 0.7427 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5393, allocations: 128.8 kB / 0.7428 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.5393, allocations: 4 kB / 0.7429 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.5395, allocations: 19.97 kB / 0.7429 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.5396, allocations: 19.92 kB / 0.7429 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5396, allocations: 15.98 kB / 0.7429 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001576/0.5398, allocations: 190 kB / 0.7431 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5398, allocations: 0 / 0.7431 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004322/0.5402, allocations: 111.9 kB / 0.7432 GB, free: 5.551 MB / 0.5762 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.001598/0.5419, allocations: 1.203 MB / 0.7444 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006961/0.5426, allocations: 266 kB / 0.7446 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5426, allocations: 0 / 0.7446 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.5429, allocations: 139.7 kB / 0.7448 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.5436, allocations: 126.5 kB / 0.7449 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.5476, allocations: 2.97 MB / 0.7478 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2315/0.7792, allocations: 0.7807 MB / 0.7485 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.7796, allocations: 69.55 kB / 0.7486 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.7797, allocations: 91.55 kB / 0.7487 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.7797, allocations: 0 / 0.7487 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.8102, allocations: 8.853 MB / 0.7573 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/8.156, allocations: 11.59 kB / 0.7573 GB, free: 170.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)