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.0009652/0.0009653, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008598/0.0008601, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4849/0.4849, allocations: 55.01 MB / 325.4 MB, free: 0.7344 MB / 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.0005967/0.0005967, allocations: 16 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4179, allocations: 60.72 MB / 457.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.RelativeHumidity): time 0.1906/0.6086, allocations: 150.2 MB / 0.5934 GB, free: 1.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.6116, allocations: 1.372 MB / 0.5947 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.6119, allocations: 7.938 kB / 0.5947 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.6126, allocations: 155 kB / 0.5948 GB, free: 15.49 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007327/0.6133, allocations: 322.4 kB / 0.5952 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.6154, allocations: 0.6095 MB / 0.5957 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.6168, allocations: 1.236 MB / 0.597 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.6173, allocations: 286.7 kB / 0.5972 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009395/0.6183, allocations: 442.2 kB / 0.5977 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.6187, allocations: 332.1 kB / 0.598 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.6188, allocations: 20 kB / 0.598 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009526/0.6197, allocations: 427.2 kB / 0.5984 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.6199, allocations: 167.5 kB / 0.5986 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.6201, allocations: 113.5 kB / 0.5987 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007312/0.6208, allocations: 0.6118 MB / 0.5993 GB, free: 10.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6208, allocations: 0 / 0.5993 GB, free: 10.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6208, allocations: 0 / 0.5993 GB, free: 10.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.6208, allocations: 0 / 0.5993 GB, free: 10.96 MB / 478.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.001291/0.6221, allocations: 0.7386 MB / 0.6 GB, free: 10.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6222, allocations: 8.031 kB / 0.6 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/0.6226, allocations: 76.5 kB / 0.6001 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.6231, allocations: 343.9 kB / 0.6004 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.6232, allocations: 33 kB / 0.6004 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.6232, allocations: 36.75 kB / 0.6005 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.6242, allocations: 0.5066 MB / 0.601 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6243, allocations: 0 / 0.601 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.6243, allocations: 16 kB / 0.601 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.6243, allocations: 8 kB / 0.601 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/0.6252, allocations: 443.6 kB / 0.6014 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.6279, allocations: 1.69 MB / 0.603 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.6286, allocations: 333.4 kB / 0.6034 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.629, allocations: 161.3 kB / 0.6035 GB, free: 6.348 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/0.6295, allocations: 218.2 kB / 0.6037 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.6295, allocations: 42.55 kB / 0.6038 GB, free: 6.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.6295, allocations: 0 / 0.6038 GB, free: 6.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=21): time 0.001126/0.6307, allocations: 451.1 kB / 0.6042 GB, free: 5.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.6307, allocations: 55.97 kB / 0.6043 GB, free: 5.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004335/0.6312, allocations: 365.7 kB / 0.6046 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.6312, allocations: 37.64 kB / 0.6046 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6314, allocations: 223.9 kB / 0.6048 GB, free: 4.902 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.6315, allocations: 82.83 kB / 0.6049 GB, free: 4.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.6315, allocations: 4 kB / 0.6049 GB, free: 4.816 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.6317, allocations: 347.8 kB / 0.6053 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.6321, allocations: 139.9 kB / 0.6054 GB, free: 4.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.6325, allocations: 220.9 kB / 0.6056 GB, free: 4.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.6329, allocations: 173.6 kB / 0.6058 GB, free: 3.918 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6329, allocations: 3.953 kB / 0.6058 GB, free: 3.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008548/0.6338, allocations: 433 kB / 0.6062 GB, free: 3.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6338, allocations: 8.062 kB / 0.6062 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6338, allocations: 4 kB / 0.6062 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6339, allocations: 4 kB / 0.6062 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.6342, allocations: 85.56 kB / 0.6063 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.6342, allocations: 5.469 kB / 0.6063 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.6346, allocations: 71.56 kB / 0.6064 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.6346, allocations: 8 kB / 0.6064 GB, free: 3.305 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.6348, allocations: 181.6 kB / 0.6065 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.6349, allocations: 43.58 kB / 0.6066 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.6357, allocations: 368.4 kB / 0.6069 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6357, allocations: 4 kB / 0.6069 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6358, allocations: 3.984 kB / 0.6069 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6358, allocations: 0 / 0.6069 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.6373, allocations: 1.002 MB / 0.6079 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6373, allocations: 4.094 kB / 0.6079 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.6376, allocations: 63.94 kB / 0.608 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.6376, allocations: 4 kB / 0.608 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.6376, allocations: 0 / 0.608 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.6376, allocations: 7.938 kB / 0.608 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6376, allocations: 0 / 0.608 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.6388, allocations: 0.6185 MB / 0.6086 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.639, allocations: 148.6 kB / 0.6087 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.639, allocations: 8 kB / 0.6088 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.6394, allocations: 48.52 kB / 0.6088 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.6395, allocations: 23.91 kB / 0.6088 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.6396, allocations: 11.98 kB / 0.6088 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.6399, allocations: 271.1 kB / 0.6091 GB, free: 376 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6399, allocations: 0 / 0.6091 GB, free: 376 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005699/0.6404, allocations: 143.8 kB / 0.6092 GB, free: 232 kB / 478.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 (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.0004923/0.6409, allocations: 182.7 kB / 0.6094 GB, free: 44 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.6417, allocations: 333.1 kB / 0.6097 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6417, allocations: 0 / 0.6097 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.6421, allocations: 158.9 kB / 0.6099 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.6431, allocations: 178.7 kB / 0.61 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6444, allocations: 0.8817 MB / 0.6109 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.6448, allocations: 0.8158 MB / 0.6117 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.6452, allocations: 87 kB / 0.6118 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.6453, allocations: 31.44 kB / 0.6118 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6453, allocations: 0 / 0.6118 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Templates: time 0.01286/0.6582, allocations: 7.339 MB / 0.619 GB, free: 6.316 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: