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.8511/0.8511, allocations: 141.8 MB / 149.3 MB, free: 9.172 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.001073/0.001073, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.416/1.416, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009566/0.0009568, allocations: 94.62 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 269.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.864e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3984, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.181/4.579, allocations: 1.829 GB / 2.586 GB, free: 232.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/4.58, allocations: 83.83 kB / 2.586 GB, free: 232 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4249/5.005, allocations: 220.5 MB / 2.802 GB, free: 6.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/5.005, allocations: 0 / 2.802 GB, free: 6.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.39e-05/5.005, allocations: 8 kB / 2.802 GB, free: 6.918 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.001415/5.006, allocations: 0.6697 MB / 2.802 GB, free: 6.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/5.006, allocations: 12.03 kB / 2.802 GB, free: 6.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/5.007, allocations: 83.56 kB / 2.802 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/5.007, allocations: 310 kB / 2.803 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/5.007, allocations: 8 kB / 2.803 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/5.007, allocations: 12 kB / 2.803 GB, free: 5.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000363/5.008, allocations: 189 kB / 2.803 GB, free: 5.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/5.008, allocations: 255.1 kB / 2.803 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/5.008, allocations: 4 kB / 2.803 GB, free: 5.293 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/5.008, allocations: 3.984 kB / 2.803 GB, free: 5.289 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/5.008, allocations: 4 kB / 2.803 GB, free: 5.285 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001438/5.01, allocations: 0.9966 MB / 2.804 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/5.01, allocations: 265 kB / 2.804 GB, free: 3.953 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/5.01, allocations: 92.78 kB / 2.805 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/5.011, allocations: 392.3 kB / 2.805 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/5.011, allocations: 38.56 kB / 2.805 GB, free: 3.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/5.011, allocations: 4 kB / 2.805 GB, free: 3.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00115/5.012, allocations: 310 kB / 2.805 GB, free: 3.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/5.012, allocations: 55.41 kB / 2.805 GB, free: 2.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/5.012, allocations: 188.4 kB / 2.805 GB, free: 2.785 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/5.012, allocations: 25.7 kB / 2.806 GB, free: 2.754 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/5.013, allocations: 172.2 kB / 2.806 GB, free: 2.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/5.013, allocations: 67.05 kB / 2.806 GB, free: 2.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/5.013, allocations: 0 / 2.806 GB, free: 2.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/5.013, allocations: 330.8 kB / 2.806 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/5.013, allocations: 63.92 kB / 2.806 GB, free: 2.121 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/5.013, allocations: 126.3 kB / 2.806 GB, free: 1.973 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/5.014, allocations: 184.3 kB / 2.806 GB, free: 1.793 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/5.014, allocations: 3.953 kB / 2.806 GB, free: 1.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008379/5.014, allocations: 311.3 kB / 2.807 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/5.015, allocations: 13.2 kB / 2.807 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/5.015, allocations: 3.938 kB / 2.807 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/5.015, allocations: 4 kB / 2.807 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/5.015, allocations: 63.89 kB / 2.807 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/5.015, allocations: 4 kB / 2.807 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/5.015, allocations: 51.86 kB / 2.807 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/5.015, allocations: 8 kB / 2.807 GB, free: 1.336 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 () * 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 8.895e-05/5.015, allocations: 104.9 kB / 2.807 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/5.015, allocations: 23.72 kB / 2.807 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/5.016, allocations: 324.2 kB / 2.807 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/5.016, allocations: 4 kB / 2.807 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.016, allocations: 3.953 kB / 2.807 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/5.016, allocations: 0 / 2.807 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4759/5.492, allocations: 0.8731 MB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/5.492, allocations: 6.594 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/5.493, allocations: 60.75 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/5.493, allocations: 2.969 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/5.493, allocations: 3.922 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/5.493, allocations: 4.453 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/5.493, allocations: 5.531 kB / 2.808 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/5.494, allocations: 0.5926 MB / 2.809 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/5.495, allocations: 123 kB / 2.809 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/5.495, allocations: 3.703 kB / 2.809 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/5.495, allocations: 36.36 kB / 2.809 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/5.495, allocations: 22.28 kB / 2.809 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/5.495, allocations: 7.078 kB / 2.809 GB, free: 196.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001575/5.495, allocations: 150.2 kB / 2.809 GB, free: 196 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.363e-06/5.495, allocations: 0 / 2.809 GB, free: 196 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007696/5.496, allocations: 176.3 kB / 2.809 GB, free: 196 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 () * 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.002244/5.498, allocations: 1.149 MB / 2.81 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004465/5.499, allocations: 162.5 kB / 2.811 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/5.499, allocations: 2.234 kB / 2.811 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/5.499, allocations: 96.11 kB / 2.811 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/5.5, allocations: 98.78 kB / 2.811 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/5.501, allocations: 436.5 kB / 2.811 GB, free: 195.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/5.501, allocations: 0.7876 MB / 2.812 GB, free: 194.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002467/5.501, allocations: 53.22 kB / 2.812 GB, free: 194.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/5.501, allocations: 22.7 kB / 2.812 GB, free: 194.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/5.501, allocations: 0 / 2.812 GB, free: 194.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01917/5.521, allocations: 9.908 MB / 2.822 GB, free: 194.7 MB / 0.698 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)