Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008289/0.008289, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.00179/0.00179, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.52/1.52, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.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.001353/0.001353, allocations: 67.91 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2483, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7784/1.027, allocations: 165.4 MB / 0.9896 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003192/1.03, allocations: 1.584 MB / 0.9911 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/1.03, allocations: 18.69 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005329/1.031, allocations: 142.1 kB / 0.9913 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/1.032, allocations: 485.7 kB / 0.9917 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/1.035, allocations: 0.7696 MB / 0.9925 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008306/1.035, allocations: 0.7034 MB / 0.9932 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/1.036, allocations: 265.8 kB / 0.9934 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/1.036, allocations: 316.4 kB / 0.9937 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/1.037, allocations: 224.7 kB / 0.9939 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/1.037, allocations: 23.69 kB / 0.994 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/1.038, allocations: 0.8755 MB / 0.9948 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/1.038, allocations: 114.1 kB / 0.9949 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/1.039, allocations: 156.7 kB / 0.9951 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/1.04, allocations: 0.7387 MB / 0.9958 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.04, allocations: 0 / 0.9958 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.936e-06/1.04, allocations: 0 / 0.9958 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.9e-05/1.04, allocations: 0 / 0.9958 GB, free: 8.766 MB / 0.7481 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.001595/1.042, allocations: 0.6754 MB / 0.9965 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.042, allocations: 10.44 kB / 0.9965 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/1.043, allocations: 83.47 kB / 0.9965 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/1.043, allocations: 312.6 kB / 0.9968 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/1.043, allocations: 24.72 kB / 0.9969 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/1.043, allocations: 20.94 kB / 0.9969 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/1.044, allocations: 328.9 kB / 0.9972 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.044, allocations: 2 kB / 0.9972 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/1.044, allocations: 13.8 kB / 0.9972 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.044, allocations: 10.44 kB / 0.9972 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/1.045, allocations: 285.7 kB / 0.9975 GB, free: 7.477 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.00179/1.047, allocations: 1.057 MB / 0.9985 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/1.047, allocations: 327.8 kB / 0.9988 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/1.048, allocations: 131.8 kB / 0.999 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/1.049, allocations: 398.8 kB / 0.9993 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/1.049, allocations: 35.78 kB / 0.9994 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/1.049, allocations: 0 / 0.9994 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001271/1.05, allocations: 405.2 kB / 0.9998 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/1.05, allocations: 57.84 kB / 0.9998 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/1.05, allocations: 263.2 kB / 1 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/1.05, allocations: 35.52 kB / 1 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.05, allocations: 160.8 kB / 1 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/1.051, allocations: 73.33 kB / 1 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/1.051, allocations: 40.95 kB / 1 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.051, allocations: 338.5 kB / 1.001 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/1.051, allocations: 102.9 kB / 1.001 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/1.051, allocations: 161.5 kB / 1.001 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/1.052, allocations: 265.1 kB / 1.001 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.052, allocations: 0 / 1.001 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000771/1.053, allocations: 319.2 kB / 1.002 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.053, allocations: 5.688 kB / 1.002 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.053, allocations: 2.094 kB / 1.002 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.053, allocations: 2.312 kB / 1.002 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/1.053, allocations: 64.92 kB / 1.002 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.053, allocations: 2.094 kB / 1.002 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/1.053, allocations: 38.91 kB / 1.002 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/1.054, allocations: 11.81 kB / 1.002 GB, free: 4.281 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.0001782/1.054, allocations: 145.4 kB / 1.002 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/1.054, allocations: 32.61 kB / 1.002 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/1.055, allocations: 318.9 kB / 1.002 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.055, allocations: 6.219 kB / 1.002 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.055, allocations: 5.062 kB / 1.002 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.055, allocations: 3.984 kB / 1.002 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/1.056, allocations: 0.9199 MB / 1.003 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.056, allocations: 0 / 1.003 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/1.057, allocations: 51.36 kB / 1.003 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.057, allocations: 6.281 kB / 1.003 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.057, allocations: 8.406 kB / 1.003 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.057, allocations: 2.906 kB / 1.003 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.057, allocations: 2.781 kB / 1.003 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.058, allocations: 0.5651 MB / 1.004 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/1.058, allocations: 127.2 kB / 1.004 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/1.058, allocations: 6.906 kB / 1.004 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/1.058, allocations: 16.83 kB / 1.004 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/1.058, allocations: 26.84 kB / 1.004 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.058, allocations: 12.09 kB / 1.004 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002107/1.059, allocations: 185.5 kB / 1.004 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.418e-05/1.059, allocations: 0 / 1.004 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005706/1.059, allocations: 114.5 kB / 1.004 GB, free: 2.426 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.0006316/1.06, allocations: 213.6 kB / 1.004 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007446/1.061, allocations: 246.6 kB / 1.005 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.061, allocations: 4.312 kB / 1.005 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/1.061, allocations: 135.8 kB / 1.005 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/1.062, allocations: 131 kB / 1.005 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.063, allocations: 0.5994 MB / 1.005 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/1.064, allocations: 0.7836 MB / 1.006 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003011/1.064, allocations: 65.48 kB / 1.006 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/1.064, allocations: 23.03 kB / 1.006 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.064, allocations: 2.75 kB / 1.006 GB, free: 0.8281 MB / 0.7481 GB Notification: Performance of Templates: time 0.01222/1.077, allocations: 5.913 MB / 1.012 GB, free: 13.89 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)