Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Annex60.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001163/0.001163, 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.001237/0.001237, allocations: 197.3 kB / 16.14 MB, free: 6.703 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.567/1.567, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3967/0.3967, allocations: 54.94 MB / 324.3 MB, free: 108 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 59.59 MB / 454.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.4311/0.5669, allocations: 163.1 MB / 0.6029 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.5697, allocations: 1.449 MB / 0.6043 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.5701, allocations: 7.938 kB / 0.6043 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.5709, allocations: 199 kB / 0.6045 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.5717, allocations: 342.4 kB / 0.6049 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.5738, allocations: 0.7621 MB / 0.6056 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.5753, allocations: 1.463 MB / 0.607 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.5758, allocations: 316.9 kB / 0.6073 GB, free: 280 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.5768, allocations: 454.2 kB / 0.6078 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.5772, allocations: 354.6 kB / 0.6081 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.5773, allocations: 20 kB / 0.6081 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.5785, allocations: 0.6859 MB / 0.6088 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5787, allocations: 175.5 kB / 0.609 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.5789, allocations: 234.9 kB / 0.6092 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.5801, allocations: 0.9012 MB / 0.6101 GB, free: 13.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5801, allocations: 0 / 0.6101 GB, free: 13.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5801, allocations: 0 / 0.6101 GB, free: 13.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.5801, allocations: 0 / 0.6101 GB, free: 13.47 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001524/0.5816, allocations: 0.808 MB / 0.6109 GB, free: 12.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.5817, allocations: 8.031 kB / 0.6109 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5821, allocations: 80.19 kB / 0.6109 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.5826, allocations: 350 kB / 0.6113 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.5827, allocations: 29 kB / 0.6113 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.5827, allocations: 36 kB / 0.6113 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009333/0.5837, allocations: 0.4988 MB / 0.6118 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5837, allocations: 0 / 0.6118 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.5838, allocations: 16 kB / 0.6118 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.5838, allocations: 8 kB / 0.6118 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.5847, allocations: 409.1 kB / 0.6122 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.5873, allocations: 1.674 MB / 0.6139 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.5881, allocations: 311.5 kB / 0.6142 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.5884, allocations: 145.6 kB / 0.6143 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/0.589, allocations: 214.1 kB / 0.6145 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.589, allocations: 42.81 kB / 0.6145 GB, free: 8.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.589, allocations: 4 kB / 0.6146 GB, free: 8.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001129/0.5901, allocations: 408.7 kB / 0.6149 GB, free: 8.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5902, allocations: 59.39 kB / 0.615 GB, free: 8.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.5906, allocations: 365.7 kB / 0.6153 GB, free: 7.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.5907, allocations: 33.7 kB / 0.6154 GB, free: 7.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.5908, allocations: 223.9 kB / 0.6156 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.5909, allocations: 76.17 kB / 0.6157 GB, free: 7.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.591, allocations: 57.7 kB / 0.6157 GB, free: 7.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5912, allocations: 346.8 kB / 0.616 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.5915, allocations: 128.5 kB / 0.6162 GB, free: 6.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.5919, allocations: 208.9 kB / 0.6164 GB, free: 6.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.5926, allocations: 337.9 kB / 0.6167 GB, free: 6.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5926, allocations: 4 kB / 0.6167 GB, free: 6.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000842/0.5935, allocations: 401.1 kB / 0.6171 GB, free: 5.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5935, allocations: 4 kB / 0.6171 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5935, allocations: 5.062 kB / 0.6171 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5935, allocations: 4 kB / 0.6171 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.5939, allocations: 79.81 kB / 0.6172 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5939, allocations: 4.547 kB / 0.6172 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.5943, allocations: 64.41 kB / 0.6172 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5943, allocations: 12 kB / 0.6172 GB, free: 5.703 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * 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.0002047/0.5945, allocations: 177.7 kB / 0.6174 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.5946, allocations: 43.47 kB / 0.6175 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.5954, allocations: 334.3 kB / 0.6178 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5954, allocations: 0 / 0.6178 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5954, allocations: 0 / 0.6178 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5955, allocations: 10.67 kB / 0.6178 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.5971, allocations: 0.9695 MB / 0.6187 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5971, allocations: 0.8438 kB / 0.6187 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.5974, allocations: 59.98 kB / 0.6188 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.5974, allocations: 3.984 kB / 0.6188 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5974, allocations: 8 kB / 0.6188 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5974, allocations: 0.9375 kB / 0.6188 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5974, allocations: 0 / 0.6188 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5986, allocations: 0.577 MB / 0.6194 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.5987, allocations: 148.7 kB / 0.6195 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.5988, allocations: 8.062 kB / 0.6195 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.5992, allocations: 36.98 kB / 0.6196 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.5993, allocations: 27.91 kB / 0.6196 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.5994, allocations: 11.98 kB / 0.6196 GB, free: 3.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.5997, allocations: 267.2 kB / 0.6198 GB, free: 2.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5997, allocations: 0 / 0.6198 GB, free: 2.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005745/0.6003, allocations: 151.7 kB / 0.62 GB, free: 2.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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.0005216/0.6008, allocations: 183.6 kB / 0.6202 GB, free: 2.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.6016, allocations: 297.5 kB / 0.6204 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6016, allocations: 4.188 kB / 0.6205 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.602, allocations: 140.6 kB / 0.6206 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6031, allocations: 183.5 kB / 0.6208 GB, free: 1.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.6046, allocations: 0.8663 MB / 0.6216 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.6051, allocations: 0.8233 MB / 0.6224 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.6055, allocations: 88.45 kB / 0.6225 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.6056, allocations: 31.44 kB / 0.6225 GB, free: 116 kB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.6056, allocations: 0 / 0.6225 GB, free: 116 kB / 494.1 MB Notification: Performance of Templates: time 0.01449/0.6201, allocations: 7.617 MB / 0.63 GB, free: 8.629 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)