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.001355/0.001356, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.397/0.397, allocations: 54.95 MB / 324.8 MB, free: 15.93 MB / 270.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.001523/0.001523, allocations: 76.41 kB / 396.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4775, allocations: 59.58 MB / 455.7 MB, free: 39.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.2368/0.7144, allocations: 165.4 MB / 0.6065 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.7178, allocations: 1.45 MB / 0.6079 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.7182, allocations: 7.938 kB / 0.6079 GB, free: 440 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.7192, allocations: 226.6 kB / 0.6081 GB, free: 212 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009854/0.7202, allocations: 350.1 kB / 0.6085 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.7227, allocations: 0.8345 MB / 0.6093 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.724, allocations: 1.038 MB / 0.6103 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.7246, allocations: 369.1 kB / 0.6106 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.7257, allocations: 0.5057 MB / 0.6111 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.7261, allocations: 334.8 kB / 0.6115 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.7262, allocations: 44 kB / 0.6115 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.7273, allocations: 0.6393 MB / 0.6121 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.7276, allocations: 194 kB / 0.6123 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.7279, allocations: 250.9 kB / 0.6126 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.7291, allocations: 0.9116 MB / 0.6134 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7291, allocations: 0 / 0.6134 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7291, allocations: 0 / 0.6134 GB, free: 10.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.7291, allocations: 0 / 0.6134 GB, free: 10.77 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.001644/0.7308, allocations: 0.8156 MB / 0.6142 GB, free: 9.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7308, allocations: 8.031 kB / 0.6142 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.7313, allocations: 80.69 kB / 0.6143 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.7318, allocations: 358.1 kB / 0.6147 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7318, allocations: 25 kB / 0.6147 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.7319, allocations: 36 kB / 0.6147 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.7329, allocations: 0.4949 MB / 0.6152 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7329, allocations: 0 / 0.6152 GB, free: 8.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.733, allocations: 20 kB / 0.6152 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.733, allocations: 12 kB / 0.6152 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.7339, allocations: 407.6 kB / 0.6156 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.7364, allocations: 1.658 MB / 0.6172 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.7372, allocations: 325 kB / 0.6176 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.7376, allocations: 144.7 kB / 0.6177 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004799/0.7381, allocations: 214.1 kB / 0.6179 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.7381, allocations: 41.22 kB / 0.6179 GB, free: 5.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.7381, allocations: 0 / 0.6179 GB, free: 5.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001072/0.7392, allocations: 418.6 kB / 0.6183 GB, free: 5.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7393, allocations: 55.34 kB / 0.6184 GB, free: 5.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.7397, allocations: 365.7 kB / 0.6187 GB, free: 5.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.7397, allocations: 33.7 kB / 0.6188 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.74, allocations: 223.9 kB / 0.619 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.7401, allocations: 82.84 kB / 0.6191 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7402, allocations: 53.7 kB / 0.6191 GB, free: 4.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7403, allocations: 343.7 kB / 0.6194 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.7407, allocations: 127.9 kB / 0.6196 GB, free: 4.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.741, allocations: 204.9 kB / 0.6198 GB, free: 3.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.7418, allocations: 341.9 kB / 0.6201 GB, free: 3.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7418, allocations: 4 kB / 0.6201 GB, free: 3.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008206/0.7426, allocations: 405 kB / 0.6205 GB, free: 3.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.7427, allocations: 8 kB / 0.6205 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7427, allocations: 0 / 0.6205 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.7427, allocations: 4.938 kB / 0.6205 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.7431, allocations: 79.88 kB / 0.6206 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.7431, allocations: 4.938 kB / 0.6206 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.7434, allocations: 55.5 kB / 0.6206 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.7434, allocations: 8 kB / 0.6206 GB, free: 2.996 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.0001915/0.7436, allocations: 181.7 kB / 0.6208 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.7437, allocations: 43.16 kB / 0.6208 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.7445, allocations: 335.7 kB / 0.6212 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7445, allocations: 4 kB / 0.6212 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7445, allocations: 4 kB / 0.6212 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7446, allocations: 0.6562 kB / 0.6212 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.7461, allocations: 0.9697 MB / 0.6221 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7461, allocations: 0 / 0.6221 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.7464, allocations: 51.95 kB / 0.6222 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7464, allocations: 4 kB / 0.6222 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.7464, allocations: 11.94 kB / 0.6222 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7464, allocations: 0 / 0.6222 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7464, allocations: 1.312 kB / 0.6222 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.7475, allocations: 0.5777 MB / 0.6227 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.7477, allocations: 152.6 kB / 0.6229 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.7478, allocations: 0 / 0.6229 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.7482, allocations: 27.97 kB / 0.6229 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.7483, allocations: 23.91 kB / 0.6229 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.7483, allocations: 19.98 kB / 0.623 GB, free: 468 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.7486, allocations: 267.2 kB / 0.6232 GB, free: 200 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7486, allocations: 3.938 kB / 0.6232 GB, free: 196 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005323/0.7491, allocations: 143.8 kB / 0.6234 GB, free: 52 kB / 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.0005239/0.7497, allocations: 194.3 kB / 0.6235 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.7504, allocations: 301 kB / 0.6238 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7505, allocations: 4.938 kB / 0.6238 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.7508, allocations: 139.8 kB / 0.624 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.7518, allocations: 189.6 kB / 0.6241 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.7532, allocations: 0.7257 MB / 0.6249 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.7537, allocations: 0.8153 MB / 0.6257 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.7539, allocations: 82.66 kB / 0.6257 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.754, allocations: 39.44 kB / 0.6258 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.754, allocations: 0 / 0.6258 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.01495/0.769, allocations: 8.057 MB / 0.6336 GB, free: 5.617 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)