Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.671/1.671, allocations: 287.4 MB / 302.5 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 183 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007264/0.0007261, allocations: 94.66 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 15.56 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.4579/0.6236, allocations: 150.1 MB / 1.125 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.6259, allocations: 1.47 MB / 1.127 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.6262, allocations: 8.656 kB / 1.127 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.6265, allocations: 103.1 kB / 1.127 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008786/0.6274, allocations: 354.1 kB / 1.127 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.6289, allocations: 0.5574 MB / 1.128 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.6296, allocations: 0.8465 MB / 1.129 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.6299, allocations: 210.8 kB / 1.129 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.6303, allocations: 280.5 kB / 1.129 GB, free: 500 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.6305, allocations: 217.9 kB / 1.129 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.6306, allocations: 13.75 kB / 1.129 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.6316, allocations: 0.532 MB / 1.13 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.6317, allocations: 102.9 kB / 1.13 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.6318, allocations: 79.45 kB / 1.13 GB, free: 16.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.6324, allocations: 472.7 kB / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6324, allocations: 0 / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6324, allocations: 4 kB / 1.13 GB, free: 16.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.6324, allocations: 0 / 1.13 GB, free: 16.3 MB / 0.698 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.0009075/0.6333, allocations: 0.635 MB / 1.131 GB, free: 15.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6334, allocations: 8 kB / 1.131 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.6334, allocations: 60.38 kB / 1.131 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.6339, allocations: 85.34 kB / 1.131 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.6342, allocations: 309.6 kB / 1.131 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.6342, allocations: 19.19 kB / 1.131 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.6343, allocations: 25.06 kB / 1.132 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.6349, allocations: 345.7 kB / 1.132 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6349, allocations: 0 / 1.132 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.6349, allocations: 10.81 kB / 1.132 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.635, allocations: 9.844 kB / 1.132 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.6356, allocations: 318.3 kB / 1.132 GB, free: 15.42 MB / 0.698 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.001411/0.6371, allocations: 1.084 MB / 1.133 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.6379, allocations: 340.9 kB / 1.134 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.6382, allocations: 152 kB / 1.134 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.6388, allocations: 409.9 kB / 1.134 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6388, allocations: 34.97 kB / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.6389, allocations: 0 / 1.134 GB, free: 14.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00106/0.6399, allocations: 459.4 kB / 1.135 GB, free: 14.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.64, allocations: 55.41 kB / 1.135 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.6402, allocations: 267.5 kB / 1.135 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6402, allocations: 25.7 kB / 1.135 GB, free: 14.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6403, allocations: 171.4 kB / 1.135 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6404, allocations: 69.14 kB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.6404, allocations: 3.312 kB / 1.135 GB, free: 13.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6405, allocations: 334.5 kB / 1.135 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.6408, allocations: 120.3 kB / 1.136 GB, free: 13.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.6411, allocations: 181.8 kB / 1.136 GB, free: 13.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.6417, allocations: 306.2 kB / 1.136 GB, free: 13.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6417, allocations: 4 kB / 1.136 GB, free: 13.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006393/0.6423, allocations: 343.2 kB / 1.136 GB, free: 13.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6423, allocations: 7.781 kB / 1.136 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6424, allocations: 0 / 1.136 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6424, allocations: 11.41 kB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.6426, allocations: 66.25 kB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.6426, allocations: 5.797 kB / 1.136 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.6429, allocations: 58.88 kB / 1.137 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.6429, allocations: 6.375 kB / 1.137 GB, free: 13.38 MB / 0.698 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.0001359/0.6431, allocations: 154.2 kB / 1.137 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.6431, allocations: 23.75 kB / 1.137 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006848/0.6438, allocations: 353.7 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6438, allocations: 3.938 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6438, allocations: 3.375 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6438, allocations: 1.969 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.6452, allocations: 0.9578 MB / 1.138 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6452, allocations: 5.156 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.6455, allocations: 62.56 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.6455, allocations: 2.688 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6455, allocations: 8.031 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6455, allocations: 4.312 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6455, allocations: 2.906 kB / 1.138 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.6466, allocations: 0.609 MB / 1.139 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6467, allocations: 130.1 kB / 1.139 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.6467, allocations: 9.562 kB / 1.139 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.647, allocations: 33 kB / 1.139 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.647, allocations: 27.3 kB / 1.139 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.6471, allocations: 11.19 kB / 1.139 GB, free: 12.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001548/0.6472, allocations: 189 kB / 1.139 GB, free: 12.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6472, allocations: 0 / 1.139 GB, free: 12.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004268/0.6477, allocations: 102.2 kB / 1.139 GB, free: 12.21 MB / 0.698 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.001609/0.6493, allocations: 1.248 MB / 1.14 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006693/0.65, allocations: 278.7 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.65, allocations: 4.938 kB / 1.141 GB, free: 11.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.6503, allocations: 152 kB / 1.141 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.6511, allocations: 129.1 kB / 1.141 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.6539, allocations: 1.845 MB / 1.143 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.6543, allocations: 0.7837 MB / 1.143 GB, free: 9.965 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002615/0.6545, allocations: 68.8 kB / 1.144 GB, free: 9.945 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.6547, allocations: 86.25 kB / 1.144 GB, free: 9.938 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.6547, allocations: 1.656 kB / 1.144 GB, free: 9.938 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/0.9741, allocations: 8.271 MB / 1.152 GB, free: 6.191 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.9743, allocations: 236.8 kB / 1.152 GB, free: 5.949 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.252, allocations: 1.438 kB / 1.152 GB, free: 5.949 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)