Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_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.001499/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001523/0.001523, allocations: 192.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 64.53 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2315, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5689/0.8004, allocations: 163 MB / 0.942 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.8029, allocations: 1.575 MB / 0.9435 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.8033, allocations: 15.06 kB / 0.9435 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.8038, allocations: 111.2 kB / 0.9436 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.805, allocations: 439.9 kB / 0.9441 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.8067, allocations: 0.6845 MB / 0.9447 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009459/0.8077, allocations: 0.9982 MB / 0.9457 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.808, allocations: 223 kB / 0.9459 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.8085, allocations: 280.1 kB / 0.9462 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.8087, allocations: 243.5 kB / 0.9464 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.8088, allocations: 15.75 kB / 0.9464 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.8103, allocations: 0.9834 MB / 0.9474 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.8104, allocations: 104 kB / 0.9475 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.8106, allocations: 147.2 kB / 0.9476 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.8116, allocations: 0.7657 MB / 0.9484 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8116, allocations: 0.5 kB / 0.9484 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.12e-07/0.8116, allocations: 1.531 kB / 0.9484 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.8116, allocations: 0 / 0.9484 GB, free: 5.656 MB / 0.7325 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.001279/0.8129, allocations: 0.6831 MB / 0.949 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.813, allocations: 9.969 kB / 0.9491 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.8131, allocations: 57.95 kB / 0.9491 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.8136, allocations: 91.17 kB / 0.9492 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.8139, allocations: 302.2 kB / 0.9495 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.814, allocations: 16.8 kB / 0.9495 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.814, allocations: 24.31 kB / 0.9495 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.8147, allocations: 333.2 kB / 0.9498 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8148, allocations: 7.938 kB / 0.9499 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.8148, allocations: 9.406 kB / 0.9499 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8148, allocations: 9.594 kB / 0.9499 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.8156, allocations: 282.4 kB / 0.9501 GB, free: 20.8 MB / 0.7481 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.001633/0.8172, allocations: 1.073 MB / 0.9512 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.8181, allocations: 322.4 kB / 0.9515 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.8184, allocations: 140.9 kB / 0.9516 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.8191, allocations: 394.9 kB / 0.952 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.8192, allocations: 35.75 kB / 0.952 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.803e-06/0.8192, allocations: 0 / 0.952 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.8204, allocations: 409.3 kB / 0.9524 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.8204, allocations: 53.69 kB / 0.9525 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.8207, allocations: 269.7 kB / 0.9527 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.8207, allocations: 31.11 kB / 0.9528 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8208, allocations: 169 kB / 0.9529 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.8209, allocations: 62.25 kB / 0.953 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.821, allocations: 50.38 kB / 0.953 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8211, allocations: 334.8 kB / 0.9534 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.8214, allocations: 108.1 kB / 0.9535 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.8217, allocations: 166.3 kB / 0.9536 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.8223, allocations: 265.8 kB / 0.9539 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.8223, allocations: 4.812 kB / 0.9539 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000751/0.8231, allocations: 315.1 kB / 0.9542 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8231, allocations: 13.5 kB / 0.9542 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.8231, allocations: 7.594 kB / 0.9542 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.8232, allocations: 6.656 kB / 0.9542 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.8234, allocations: 56.72 kB / 0.9543 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8235, allocations: 5.656 kB / 0.9543 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.8237, allocations: 38.41 kB / 0.9543 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.8238, allocations: 9.969 kB / 0.9543 GB, free: 18.8 MB / 0.7481 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.0001729/0.824, allocations: 157.6 kB / 0.9545 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.824, allocations: 24.34 kB / 0.9545 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008815/0.8249, allocations: 312.8 kB / 0.9548 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8249, allocations: 14.34 kB / 0.9548 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8249, allocations: 0.7031 kB / 0.9548 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.825, allocations: 1.203 kB / 0.9548 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.8266, allocations: 0.9308 MB / 0.9557 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8266, allocations: 1.562 kB / 0.9557 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.8269, allocations: 50.41 kB / 0.9558 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8269, allocations: 9.688 kB / 0.9558 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8269, allocations: 6.406 kB / 0.9558 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.8269, allocations: 2.812 kB / 0.9558 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8269, allocations: 7.672 kB / 0.9558 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.8281, allocations: 0.5674 MB / 0.9563 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.8283, allocations: 124.4 kB / 0.9565 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.8283, allocations: 6.906 kB / 0.9565 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.8286, allocations: 33.23 kB / 0.9565 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.8287, allocations: 20.64 kB / 0.9565 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.8287, allocations: 11.09 kB / 0.9565 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00017/0.8289, allocations: 197.8 kB / 0.9567 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8289, allocations: 0 / 0.9567 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004612/0.8293, allocations: 99.08 kB / 0.9568 GB, free: 17.67 MB / 0.7481 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.001607/0.831, allocations: 1.188 MB / 0.958 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006653/0.8316, allocations: 253.6 kB / 0.9582 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8316, allocations: 1.094 kB / 0.9582 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.832, allocations: 137.4 kB / 0.9583 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.8327, allocations: 148.5 kB / 0.9585 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.8366, allocations: 3.049 MB / 0.9615 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.837, allocations: 0.7772 MB / 0.9622 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000266/0.8373, allocations: 69.88 kB / 0.9623 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.8374, allocations: 90.02 kB / 0.9624 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8374, allocations: 1.188 kB / 0.9624 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.8581, allocations: 8.374 MB / 0.9705 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.8583, allocations: 247.8 kB / 0.9708 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.854, allocations: 0 / 0.9708 GB, free: 13.52 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)