Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.804/1.804, allocations: 288.4 MB / 303.3 MB, free: 8.258 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.001215/0.001216, allocations: 182.8 kB / 372 MB, free: 10.27 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.918/1.918, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008176/0.0008175, allocations: 94.38 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 15.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2735, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8494/1.123, allocations: 150.1 MB / 1.126 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004064/1.127, allocations: 1.473 MB / 1.128 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004618/1.128, allocations: 9.5 kB / 1.128 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006257/1.128, allocations: 104 kB / 1.128 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/1.13, allocations: 351.4 kB / 1.128 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/1.133, allocations: 0.5573 MB / 1.129 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001477/1.134, allocations: 0.8329 MB / 1.129 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/1.135, allocations: 202.9 kB / 1.13 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/1.136, allocations: 273.4 kB / 1.13 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/1.136, allocations: 225.5 kB / 1.13 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/1.136, allocations: 13.78 kB / 1.13 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/1.138, allocations: 0.5295 MB / 1.131 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/1.138, allocations: 105.4 kB / 1.131 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/1.138, allocations: 79.98 kB / 1.131 GB, free: 16.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009075/1.139, allocations: 469.6 kB / 1.131 GB, free: 16.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.139, allocations: 0 / 1.131 GB, free: 16.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.139, allocations: 0 / 1.131 GB, free: 16.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.139, allocations: 0 / 1.131 GB, free: 16.88 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.001195/1.14, allocations: 0.6383 MB / 1.132 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.141, allocations: 10.88 kB / 1.132 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/1.141, allocations: 58.55 kB / 1.132 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/1.141, allocations: 85.91 kB / 1.132 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/1.142, allocations: 297.7 kB / 1.132 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.142, allocations: 17.75 kB / 1.132 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/1.142, allocations: 23.12 kB / 1.132 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/1.142, allocations: 344.5 kB / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.142, allocations: 0 / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/1.142, allocations: 9.312 kB / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.142, allocations: 5.094 kB / 1.133 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/1.143, allocations: 327.2 kB / 1.133 GB, free: 16.02 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.001702/1.145, allocations: 1.077 MB / 1.134 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/1.146, allocations: 341.8 kB / 1.134 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/1.146, allocations: 150.4 kB / 1.135 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/1.147, allocations: 408.4 kB / 1.135 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.147, allocations: 33.5 kB / 1.135 GB, free: 14.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/1.147, allocations: 0 / 1.135 GB, free: 14.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001344/1.148, allocations: 462 kB / 1.135 GB, free: 14.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.148, allocations: 58.2 kB / 1.135 GB, free: 14.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/1.149, allocations: 268.5 kB / 1.136 GB, free: 14.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.149, allocations: 31.34 kB / 1.136 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.149, allocations: 168.5 kB / 1.136 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.149, allocations: 69.53 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/1.149, allocations: 6.125 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.149, allocations: 337.4 kB / 1.136 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/1.15, allocations: 115.7 kB / 1.136 GB, free: 14.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/1.15, allocations: 186.4 kB / 1.137 GB, free: 14.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/1.15, allocations: 138.1 kB / 1.137 GB, free: 14.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.15, allocations: 0 / 1.137 GB, free: 14.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007784/1.151, allocations: 352.8 kB / 1.137 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.151, allocations: 6.281 kB / 1.137 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.151, allocations: 0 / 1.137 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.151, allocations: 2.562 kB / 1.137 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/1.152, allocations: 65.5 kB / 1.137 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.152, allocations: 10.91 kB / 1.137 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/1.152, allocations: 53.42 kB / 1.137 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/1.152, allocations: 11.22 kB / 1.137 GB, free: 14.02 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.0001797/1.152, allocations: 154.7 kB / 1.137 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/1.152, allocations: 28.44 kB / 1.137 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/1.153, allocations: 348.5 kB / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.153, allocations: 2.469 kB / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.153, allocations: 0.5625 kB / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.153, allocations: 2.578 kB / 1.138 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/1.155, allocations: 0.9597 MB / 1.139 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.155, allocations: 0 / 1.139 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/1.155, allocations: 65.77 kB / 1.139 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.155, allocations: 3.312 kB / 1.139 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.155, allocations: 9.703 kB / 1.139 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.155, allocations: 5.812 kB / 1.139 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.155, allocations: 3.531 kB / 1.139 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.156, allocations: 0.6063 MB / 1.139 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/1.156, allocations: 121.4 kB / 1.139 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.156, allocations: 8.516 kB / 1.139 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.157, allocations: 46.28 kB / 1.14 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/1.157, allocations: 14.84 kB / 1.14 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.157, allocations: 6.75 kB / 1.14 GB, free: 12.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001832/1.157, allocations: 191 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.333e-06/1.157, allocations: 1.656 kB / 1.14 GB, free: 12.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005072/1.157, allocations: 105.6 kB / 1.14 GB, free: 12.87 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.001974/1.159, allocations: 1.26 MB / 1.141 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007632/1.16, allocations: 287.6 kB / 1.141 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.16, allocations: 0 / 1.141 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/1.161, allocations: 155.1 kB / 1.141 GB, free: 11.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/1.161, allocations: 119.2 kB / 1.142 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/1.165, allocations: 1.849 MB / 1.143 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/1.165, allocations: 0.784 MB / 1.144 GB, free: 10.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003478/1.166, allocations: 74.34 kB / 1.144 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.166, allocations: 85.59 kB / 1.144 GB, free: 10.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/1.166, allocations: 0 / 1.144 GB, free: 10.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/1.195, allocations: 8.275 MB / 1.152 GB, free: 6.117 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.195, allocations: 235.1 kB / 1.153 GB, free: 5.879 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.434, allocations: 0 / 1.153 GB, free: 5.879 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)