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.001657/0.001657, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001554/0.001554, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.668/1.668, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001521/0.001521, allocations: 64.66 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.235, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5838/0.8189, allocations: 163 MB / 0.9422 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.8214, allocations: 1.55 MB / 0.9437 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.8216, allocations: 12.25 kB / 0.9437 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.8221, allocations: 115 kB / 0.9438 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.8233, allocations: 438 kB / 0.9442 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.825, allocations: 0.7029 MB / 0.9449 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006356/0.8256, allocations: 0.7042 MB / 0.9456 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.826, allocations: 257.9 kB / 0.9458 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.8264, allocations: 312.7 kB / 0.9461 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.8267, allocations: 237.6 kB / 0.9464 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.8267, allocations: 25.5 kB / 0.9464 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.828, allocations: 0.8955 MB / 0.9473 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.8281, allocations: 112.1 kB / 0.9474 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.8283, allocations: 161.3 kB / 0.9475 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.8294, allocations: 0.7922 MB / 0.9483 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8294, allocations: 4 kB / 0.9483 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8294, allocations: 0.5625 kB / 0.9483 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.8294, allocations: 0 / 0.9483 GB, free: 5.762 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.001271/0.8307, allocations: 0.6645 MB / 0.949 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8308, allocations: 10.69 kB / 0.949 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.8308, allocations: 59.75 kB / 0.949 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.8313, allocations: 90.94 kB / 0.9491 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.8317, allocations: 299.8 kB / 0.9494 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.8317, allocations: 22 kB / 0.9494 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.8317, allocations: 23.81 kB / 0.9494 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.8324, allocations: 336 kB / 0.9498 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8324, allocations: 0 / 0.9498 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.8324, allocations: 14.91 kB / 0.9498 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.8325, allocations: 7 kB / 0.9498 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.8332, allocations: 285.4 kB / 0.95 GB, free: 20.91 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.001639/0.8348, allocations: 1.07 MB / 0.9511 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/0.8358, allocations: 321.6 kB / 0.9514 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.8361, allocations: 142 kB / 0.9515 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.8368, allocations: 390.6 kB / 0.9519 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.8368, allocations: 36.97 kB / 0.9519 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.8369, allocations: 0 / 0.9519 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001192/0.838, allocations: 416.1 kB / 0.9523 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.8381, allocations: 53.34 kB / 0.9524 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.8384, allocations: 266.8 kB / 0.9526 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.8384, allocations: 30.95 kB / 0.9527 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8385, allocations: 169.2 kB / 0.9528 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.8386, allocations: 66.41 kB / 0.9529 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.8387, allocations: 44.75 kB / 0.9529 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8388, allocations: 340.4 kB / 0.9533 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.8391, allocations: 104.4 kB / 0.9534 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.8394, allocations: 168.3 kB / 0.9535 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.84, allocations: 269.5 kB / 0.9538 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8401, allocations: 1.344 kB / 0.9538 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007388/0.8408, allocations: 319 kB / 0.9541 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.8408, allocations: 4.812 kB / 0.9541 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8408, allocations: 1.812 kB / 0.9541 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8409, allocations: 6.719 kB / 0.9541 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.8411, allocations: 61.16 kB / 0.9542 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.8412, allocations: 2.625 kB / 0.9542 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.8414, allocations: 47.33 kB / 0.9542 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.8415, allocations: 7 kB / 0.9542 GB, free: 18.91 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.0001464/0.8416, allocations: 154.2 kB / 0.9544 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.8417, allocations: 24.84 kB / 0.9544 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/0.8425, allocations: 319.3 kB / 0.9547 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.8425, allocations: 9.688 kB / 0.9547 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8425, allocations: 2.531 kB / 0.9547 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8425, allocations: 0.5312 kB / 0.9547 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.8441, allocations: 0.9266 MB / 0.9556 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8441, allocations: 6.375 kB / 0.9556 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.8444, allocations: 49.27 kB / 0.9557 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8444, allocations: 2.781 kB / 0.9557 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.8444, allocations: 6.812 kB / 0.9557 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8444, allocations: 6.188 kB / 0.9557 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8444, allocations: 2.719 kB / 0.9557 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.8457, allocations: 0.5707 MB / 0.9562 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.8458, allocations: 122.7 kB / 0.9564 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.8459, allocations: 9.156 kB / 0.9564 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.8462, allocations: 26.34 kB / 0.9564 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.8462, allocations: 26.11 kB / 0.9564 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.8463, allocations: 7.688 kB / 0.9564 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002229/0.8465, allocations: 194.2 kB / 0.9566 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.323e-06/0.8465, allocations: 0 / 0.9566 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004784/0.847, allocations: 110.8 kB / 0.9567 GB, free: 17.78 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.001582/0.8486, allocations: 1.195 MB / 0.9579 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006514/0.8492, allocations: 263.8 kB / 0.9581 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8493, allocations: 0 / 0.9581 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.8496, allocations: 147.3 kB / 0.9583 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.8503, allocations: 131.7 kB / 0.9584 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.8541, allocations: 3.046 MB / 0.9614 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.8544, allocations: 0.7822 MB / 0.9621 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.8546, allocations: 69.25 kB / 0.9622 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.8548, allocations: 91.36 kB / 0.9623 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.8548, allocations: 3.938 kB / 0.9623 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.8753, allocations: 8.593 MB / 0.9707 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.8755, allocations: 249.6 kB / 0.9709 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.832, allocations: 0 / 0.9709 GB, free: 13.62 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)