Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9628/0.9628, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7803/0.7803, allocations: 154.6 MB / 414.5 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5203 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.309e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.RelativeHumidity): time 0.1436/0.1436, allocations: 146.3 MB / 0.6632 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1459, allocations: 1.553 MB / 0.6647 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1462, allocations: 11.88 kB / 0.6647 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1465, allocations: 83.34 kB / 0.6648 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000839/0.1474, allocations: 334.1 kB / 0.6651 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1485, allocations: 0.4944 MB / 0.6656 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000764/0.1492, allocations: 0.7133 MB / 0.6663 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.1496, allocations: 214.8 kB / 0.6665 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.1502, allocations: 383 kB / 0.6669 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1505, allocations: 203.4 kB / 0.6671 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1505, allocations: 24 kB / 0.6671 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.1511, allocations: 399 kB / 0.6675 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1513, allocations: 115.7 kB / 0.6676 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1514, allocations: 119.7 kB / 0.6677 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.1521, allocations: 0.5062 MB / 0.6682 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1521, allocations: 0 / 0.6682 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1521, allocations: 0 / 0.6682 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1521, allocations: 0 / 0.6682 GB, free: 10.4 MB / 0.6355 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.0008073/0.1529, allocations: 0.6708 MB / 0.6689 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1529, allocations: 12.03 kB / 0.6689 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.1534, allocations: 132.3 kB / 0.669 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1538, allocations: 263.5 kB / 0.6692 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1538, allocations: 16.88 kB / 0.6693 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1538, allocations: 24.38 kB / 0.6693 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1542, allocations: 278.4 kB / 0.6696 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1542, allocations: 3.938 kB / 0.6696 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1543, allocations: 16 kB / 0.6696 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1543, allocations: 4 kB / 0.6696 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1544, allocations: 98.94 kB / 0.6697 GB, free: 8.812 MB / 0.6355 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.001269/0.1557, allocations: 1.003 MB / 0.6707 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.1562, allocations: 146.6 kB / 0.6708 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.1563, allocations: 47.67 kB / 0.6708 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.1566, allocations: 75.86 kB / 0.6709 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1566, allocations: 41.27 kB / 0.6709 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 4.158e-06/0.1566, allocations: 3.984 kB / 0.671 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0005027/0.1571, allocations: 191.7 kB / 0.6711 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1571, allocations: 55.41 kB / 0.6712 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1573, allocations: 272.3 kB / 0.6714 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1573, allocations: 29.7 kB / 0.6715 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1575, allocations: 219 kB / 0.6717 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1575, allocations: 75.36 kB / 0.6718 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.1576, allocations: 47.36 kB / 0.6718 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1577, allocations: 0.5079 MB / 0.6723 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.1578, allocations: 27.98 kB / 0.6723 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.158, allocations: 190.3 kB / 0.6725 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1581, allocations: 136.2 kB / 0.6726 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1581, allocations: 0 / 0.6726 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002956/0.1584, allocations: 165.4 kB / 0.6728 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1585, allocations: 16.09 kB / 0.6728 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1585, allocations: 3.984 kB / 0.6728 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.1585, allocations: 4 kB / 0.6728 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1587, allocations: 47.91 kB / 0.6729 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1587, allocations: 4 kB / 0.6729 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1588, allocations: 31.83 kB / 0.6729 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1588, allocations: 8 kB / 0.6729 GB, free: 5.285 MB / 0.6355 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.0001133/0.1589, allocations: 168.5 kB / 0.6731 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.159, allocations: 35.8 kB / 0.6731 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1593, allocations: 168.5 kB / 0.6733 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1593, allocations: 0 / 0.6733 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1593, allocations: 0 / 0.6733 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1593, allocations: 4 kB / 0.6733 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.1601, allocations: 0.6044 MB / 0.6739 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1601, allocations: 8.188 kB / 0.6739 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1603, allocations: 47.98 kB / 0.6739 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1603, allocations: 0 / 0.6739 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1603, allocations: 11.92 kB / 0.6739 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1603, allocations: 4 kB / 0.6739 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1603, allocations: 3.938 kB / 0.6739 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.1607, allocations: 390.5 kB / 0.6743 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.1608, allocations: 39.78 kB / 0.6743 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1608, allocations: 7.984 kB / 0.6743 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.161, allocations: 16.03 kB / 0.6744 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.161, allocations: 27.84 kB / 0.6744 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.161, allocations: 11.98 kB / 0.6744 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001266/0.1612, allocations: 189.1 kB / 0.6746 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1612, allocations: 0 / 0.6746 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004508/0.1616, allocations: 115.7 kB / 0.6747 GB, free: 3.332 MB / 0.6355 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.0003651/0.162, allocations: 170.9 kB / 0.6748 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1623, allocations: 121.7 kB / 0.675 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1623, allocations: 0 / 0.675 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1624, allocations: 63.59 kB / 0.675 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.163, allocations: 105.1 kB / 0.6751 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1642, allocations: 0.5671 MB / 0.6757 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.684e-05/0.1643, allocations: 100.5 kB / 0.6758 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.1645, allocations: 49.91 kB / 0.6758 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1646, allocations: 28.5 kB / 0.6759 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.1646, allocations: 0 / 0.6759 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of Templates: time 0.268/0.4325, allocations: 5.719 MB / 0.6814 GB, free: 61.07 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4214266003109515]