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.0006819/0.0006819, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007324/0.0007324, allocations: 171.9 kB / 16.58 MB, free: 6.48 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.176/1.176, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5963/0.5963, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12 kB / 493.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.3822/0.5029, allocations: 150.1 MB / 0.7035 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.5052, allocations: 1.471 MB / 0.7049 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.5055, allocations: 7.938 kB / 0.7049 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.5058, allocations: 107.2 kB / 0.705 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.5067, allocations: 350.3 kB / 0.7053 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.5081, allocations: 0.5556 MB / 0.7059 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008017/0.5089, allocations: 0.8384 MB / 0.7067 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.5092, allocations: 196.4 kB / 0.7069 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.5098, allocations: 282.9 kB / 0.7072 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.5101, allocations: 223.1 kB / 0.7074 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.5101, allocations: 12 kB / 0.7074 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.5111, allocations: 0.534 MB / 0.7079 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.5113, allocations: 99.73 kB / 0.708 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.102e-05/0.5114, allocations: 85.52 kB / 0.7081 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005898/0.5119, allocations: 471.4 kB / 0.7085 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.512, allocations: 0 / 0.7085 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.512, allocations: 0 / 0.7085 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.512, allocations: 0 / 0.7085 GB, free: 15.65 MB / 0.5294 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.0008761/0.5129, allocations: 0.6355 MB / 0.7092 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.5129, allocations: 8.031 kB / 0.7092 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.513, allocations: 54.55 kB / 0.7092 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.5134, allocations: 87.56 kB / 0.7093 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.5137, allocations: 305.9 kB / 0.7096 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5138, allocations: 16.56 kB / 0.7096 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.5138, allocations: 24 kB / 0.7096 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.5144, allocations: 348.2 kB / 0.71 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5144, allocations: 7.938 kB / 0.71 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.5144, allocations: 7.938 kB / 0.71 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5144, allocations: 8 kB / 0.71 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.5151, allocations: 313.5 kB / 0.7103 GB, free: 13.75 MB / 0.5294 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.001364/0.5164, allocations: 1.079 MB / 0.7113 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.5172, allocations: 343.6 kB / 0.7117 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.5175, allocations: 152.8 kB / 0.7118 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.5181, allocations: 408.3 kB / 0.7122 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5181, allocations: 34.56 kB / 0.7122 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.5181, allocations: 3.938 kB / 0.7122 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.001034/0.5191, allocations: 451 kB / 0.7127 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.5192, allocations: 59.39 kB / 0.7127 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.5194, allocations: 259 kB / 0.713 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.5194, allocations: 29.7 kB / 0.713 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.5195, allocations: 168.2 kB / 0.7132 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.5196, allocations: 70.94 kB / 0.7132 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.5196, allocations: 4 kB / 0.7132 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.5197, allocations: 346.8 kB / 0.7136 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.52, allocations: 115.9 kB / 0.7137 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.5203, allocations: 186.9 kB / 0.7138 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.5206, allocations: 131.9 kB / 0.714 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5206, allocations: 0 / 0.714 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006311/0.5212, allocations: 346.9 kB / 0.7143 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5212, allocations: 10.03 kB / 0.7143 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5212, allocations: 0 / 0.7143 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5213, allocations: 4 kB / 0.7143 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.5215, allocations: 63.89 kB / 0.7144 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5215, allocations: 4 kB / 0.7144 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.5218, allocations: 55.77 kB / 0.7144 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.5218, allocations: 12 kB / 0.7144 GB, free: 9.242 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.5219, allocations: 153.7 kB / 0.7146 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.522, allocations: 23.72 kB / 0.7146 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.5227, allocations: 354.9 kB / 0.715 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5227, allocations: 4 kB / 0.715 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5227, allocations: 3.938 kB / 0.715 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5227, allocations: 0 / 0.715 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.524, allocations: 0.9604 MB / 0.7159 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.524, allocations: 4 kB / 0.7159 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5242, allocations: 55.89 kB / 0.716 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5243, allocations: 4 kB / 0.716 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.5243, allocations: 8 kB / 0.716 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5243, allocations: 4.188 kB / 0.716 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5243, allocations: 7.938 kB / 0.716 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.5252, allocations: 0.6069 MB / 0.7166 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5253, allocations: 124.8 kB / 0.7167 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.5254, allocations: 11.98 kB / 0.7167 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.5256, allocations: 32.03 kB / 0.7167 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.5257, allocations: 19.94 kB / 0.7168 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.5257, allocations: 11.94 kB / 0.7168 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001504/0.5259, allocations: 193.9 kB / 0.7169 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5259, allocations: 0 / 0.7169 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003918/0.5263, allocations: 107.8 kB / 0.7171 GB, free: 6.402 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.5277, allocations: 1.24 MB / 0.7183 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.5283, allocations: 287.9 kB / 0.7185 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5284, allocations: 0 / 0.7185 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.5287, allocations: 160.2 kB / 0.7187 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.5293, allocations: 119.5 kB / 0.7188 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.532, allocations: 1.861 MB / 0.7206 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5323, allocations: 0.7758 MB / 0.7214 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.5325, allocations: 70.22 kB / 0.7214 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5327, allocations: 87.41 kB / 0.7215 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.5327, allocations: 0 / 0.7215 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.5503, allocations: 8.25 MB / 0.7296 GB, free: 9.645 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.5505, allocations: 222.3 kB / 0.7298 GB, free: 9.406 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.202, allocations: 0 / 0.7298 GB, free: 9.406 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: