Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7767/0.7767, allocations: 143.4 MB / 159.2 MB, free: 4.918 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 184.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 107.2 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 286.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 83.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3252, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.492/0.8173, allocations: 163 MB / 0.9271 GB, free: 476 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.82, allocations: 1.573 MB / 0.9286 GB, free: 420 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.8203, allocations: 8 kB / 0.9287 GB, free: 420 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.8207, allocations: 113.1 kB / 0.9288 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.822, allocations: 435.5 kB / 0.9292 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.8238, allocations: 0.6846 MB / 0.9298 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009455/0.8247, allocations: 0.9979 MB / 0.9308 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.8251, allocations: 234.8 kB / 0.931 GB, free: 324 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.8256, allocations: 286 kB / 0.9313 GB, free: 316 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.8259, allocations: 243 kB / 0.9315 GB, free: 316 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.826, allocations: 16.12 kB / 0.9316 GB, free: 316 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.8274, allocations: 0.9776 MB / 0.9325 GB, free: 308 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.8276, allocations: 103.3 kB / 0.9326 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.8278, allocations: 159.7 kB / 0.9328 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000982/0.8287, allocations: 0.7734 MB / 0.9335 GB, free: 256 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8288, allocations: 4 kB / 0.9335 GB, free: 252 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8288, allocations: 1.344 kB / 0.9335 GB, free: 252 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8288, allocations: 1.781 kB / 0.9335 GB, free: 252 kB / 0.5573 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.001131/0.8299, allocations: 0.6716 MB / 0.9342 GB, free: 15.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.83, allocations: 9.219 kB / 0.9342 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.8304, allocations: 90.59 kB / 0.9343 GB, free: 15.73 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.8309, allocations: 301.1 kB / 0.9346 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.8309, allocations: 16.91 kB / 0.9346 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.8309, allocations: 22.97 kB / 0.9346 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.8316, allocations: 333.3 kB / 0.9349 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8316, allocations: 0 / 0.9349 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.8316, allocations: 9.75 kB / 0.9349 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.8316, allocations: 8.844 kB / 0.9349 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.8323, allocations: 291.3 kB / 0.9352 GB, free: 15.43 MB / 0.573 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.001613/0.8339, allocations: 1.073 MB / 0.9363 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008996/0.8349, allocations: 317.3 kB / 0.9366 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.8352, allocations: 137 kB / 0.9367 GB, free: 14.78 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.836, allocations: 391.1 kB / 0.9371 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.836, allocations: 37.72 kB / 0.9371 GB, free: 14.37 MB / 0.573 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.836, allocations: 4 kB / 0.9371 GB, free: 14.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.001345/0.8373, allocations: 408.3 kB / 0.9375 GB, free: 14.31 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.8374, allocations: 58.75 kB / 0.9376 GB, free: 14.24 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.8377, allocations: 269.1 kB / 0.9378 GB, free: 14.14 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.8377, allocations: 27.11 kB / 0.9378 GB, free: 14.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.8378, allocations: 166.5 kB / 0.938 GB, free: 14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.8379, allocations: 68.03 kB / 0.9381 GB, free: 13.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.838, allocations: 45.7 kB / 0.9381 GB, free: 13.94 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8381, allocations: 335.9 kB / 0.9384 GB, free: 13.63 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.8384, allocations: 109.1 kB / 0.9385 GB, free: 13.62 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.8387, allocations: 166 kB / 0.9387 GB, free: 13.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.8393, allocations: 269.5 kB / 0.9389 GB, free: 13.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8393, allocations: 4.516 kB / 0.939 GB, free: 13.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006955/0.84, allocations: 314.8 kB / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8401, allocations: 5.906 kB / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8401, allocations: 0 / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8401, allocations: 2.594 kB / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.8404, allocations: 61.39 kB / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.8404, allocations: 3.375 kB / 0.9393 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.8407, allocations: 47.48 kB / 0.9394 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.8407, allocations: 11.75 kB / 0.9394 GB, free: 13.44 MB / 0.573 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.0001458/0.8409, allocations: 159.5 kB / 0.9395 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.8409, allocations: 24.53 kB / 0.9396 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.8417, allocations: 317.7 kB / 0.9399 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.8417, allocations: 6.938 kB / 0.9399 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8417, allocations: 3.438 kB / 0.9399 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8417, allocations: 0 / 0.9399 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.8432, allocations: 0.9203 MB / 0.9408 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.8433, allocations: 2.562 kB / 0.9408 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.8435, allocations: 56.59 kB / 0.9408 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8435, allocations: 2.469 kB / 0.9408 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.8436, allocations: 3.984 kB / 0.9408 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.8436, allocations: 9.375 kB / 0.9408 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8436, allocations: 2.281 kB / 0.9408 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.8576, allocations: 3.576 MB / 0.9443 GB, free: 11.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.8578, allocations: 125.2 kB / 0.9444 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.8578, allocations: 10.16 kB / 0.9445 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.8581, allocations: 29.61 kB / 0.9445 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.8581, allocations: 22.7 kB / 0.9445 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8582, allocations: 5.688 kB / 0.9445 GB, free: 11.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001779/0.8584, allocations: 193.9 kB / 0.9447 GB, free: 11.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.8584, allocations: 3.188 kB / 0.9447 GB, free: 11.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006108/0.859, allocations: 135.2 kB / 0.9448 GB, free: 11.36 MB / 0.573 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.000512/0.8595, allocations: 209.9 kB / 0.945 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006808/0.8602, allocations: 253.4 kB / 0.9453 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8602, allocations: 0 / 0.9453 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.8606, allocations: 139.3 kB / 0.9454 GB, free: 11.24 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.8614, allocations: 130 kB / 0.9455 GB, free: 11.22 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.8625, allocations: 0.8727 MB / 0.9464 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.8628, allocations: 0.7868 MB / 0.9472 GB, free: 9.953 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.8631, allocations: 61.52 kB / 0.9472 GB, free: 9.941 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.8632, allocations: 28.06 kB / 0.9472 GB, free: 9.934 MB / 0.573 GB Notification: Performance of SimCode: time 2.1e-07/0.8632, allocations: 0 / 0.9472 GB, free: 9.934 MB / 0.573 GB Notification: Performance of Templates: time 0.01085/0.874, allocations: 5.921 MB / 0.953 GB, free: 9.164 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)