Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001377/0.001377, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001093/0.001093, allocations: 181 kB / 23.36 MB, free: 1.133 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.9977/0.9977, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.7935/0.7935, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.274e-05, allocations: 7.438 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1274/0.1274, allocations: 143.6 MB / 0.6089 GB, free: 7.258 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001152/0.1275, allocations: 55.8 kB / 0.609 GB, free: 7.203 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.1276, allocations: 0 / 0.609 GB, free: 7.203 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.1277, allocations: 11.88 kB / 0.609 GB, free: 7.191 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.1277, allocations: 7.922 kB / 0.609 GB, free: 7.184 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1284, allocations: 231.1 kB / 0.6092 GB, free: 6.957 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.1284, allocations: 39.84 kB / 0.6092 GB, free: 6.918 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1285, allocations: 3.984 kB / 0.6092 GB, free: 6.914 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.1285, allocations: 15.98 kB / 0.6092 GB, free: 6.898 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.1286, allocations: 11.92 kB / 0.6093 GB, free: 6.887 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1286, allocations: 4 kB / 0.6093 GB, free: 6.883 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1289, allocations: 171.4 kB / 0.6094 GB, free: 6.715 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.1289, allocations: 7.984 kB / 0.6094 GB, free: 6.707 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.1289, allocations: 11.94 kB / 0.6094 GB, free: 6.695 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1291, allocations: 115.7 kB / 0.6096 GB, free: 6.582 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1291, allocations: 0 / 0.6096 GB, free: 6.582 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1291, allocations: 0 / 0.6096 GB, free: 6.582 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.1291, allocations: 0 / 0.6096 GB, free: 6.582 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002582/0.1294, allocations: 240.5 kB / 0.6098 GB, free: 6.324 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.1294, allocations: 8.031 kB / 0.6098 GB, free: 6.316 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.1296, allocations: 41.19 kB / 0.6098 GB, free: 6.277 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.1297, allocations: 109.7 kB / 0.6099 GB, free: 6.145 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.1297, allocations: 59.91 kB / 0.61 GB, free: 6.074 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1297, allocations: 4.125 kB / 0.61 GB, free: 6.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1298, allocations: 78.92 kB / 0.6101 GB, free: 5.977 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1298, allocations: 3.984 kB / 0.6101 GB, free: 5.973 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.1298, allocations: 0 / 0.6101 GB, free: 5.973 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1299, allocations: 4 kB / 0.6101 GB, free: 5.969 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.1299, allocations: 4 kB / 0.6101 GB, free: 5.965 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.1301, allocations: 166 kB / 0.6102 GB, free: 5.785 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.1301, allocations: 30.48 kB / 0.6103 GB, free: 5.746 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.184e-05/0.1301, allocations: 8.859 kB / 0.6103 GB, free: 5.734 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.369e-05/0.1302, allocations: 16.05 kB / 0.6103 GB, free: 5.719 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1302, allocations: 34.55 kB / 0.6103 GB, free: 5.676 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1302, allocations: 4 kB / 0.6103 GB, free: 5.672 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1303, allocations: 49.72 kB / 0.6104 GB, free: 5.617 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1304, allocations: 55.34 kB / 0.6104 GB, free: 5.551 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.1304, allocations: 106.7 kB / 0.6105 GB, free: 5.434 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1304, allocations: 25.7 kB / 0.6106 GB, free: 5.402 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.1305, allocations: 96.06 kB / 0.6107 GB, free: 5.305 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.1305, allocations: 3.953 kB / 0.6107 GB, free: 5.301 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.1305, allocations: 13.72 kB / 0.6107 GB, free: 5.281 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.1306, allocations: 310.8 kB / 0.611 GB, free: 4.969 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.1306, allocations: 4 kB / 0.611 GB, free: 4.965 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.1306, allocations: 30.55 kB / 0.611 GB, free: 4.926 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.1306, allocations: 33.38 kB / 0.611 GB, free: 4.883 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1306, allocations: 3.938 kB / 0.611 GB, free: 4.879 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.253e-05/0.1307, allocations: 45.62 kB / 0.6111 GB, free: 4.828 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1307, allocations: 4 kB / 0.6111 GB, free: 4.824 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1307, allocations: 4 kB / 0.6111 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1307, allocations: 0 / 0.6111 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.525e-05/0.1307, allocations: 11.94 kB / 0.6111 GB, free: 4.809 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.1307, allocations: 8.094 kB / 0.6111 GB, free: 4.801 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1307, allocations: 7.922 kB / 0.6111 GB, free: 4.793 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.1307, allocations: 0 / 0.6111 GB, free: 4.793 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.018e-05/0.1308, allocations: 120.6 kB / 0.6112 GB, free: 4.664 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1308, allocations: 0 / 0.6112 GB, free: 4.664 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.1308, allocations: 8.031 kB / 0.6112 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.1308, allocations: 0 / 0.6112 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.1308, allocations: 0 / 0.6112 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1308, allocations: 0 / 0.6112 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.131, allocations: 279.7 kB / 0.6115 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.131, allocations: 4.062 kB / 0.6115 GB, free: 4.348 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.131, allocations: 7.984 kB / 0.6115 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.131, allocations: 0 / 0.6115 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.131, allocations: 0 / 0.6115 GB, free: 4.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.131, allocations: 3.938 kB / 0.6115 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.131, allocations: 4 kB / 0.6115 GB, free: 4.332 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.767e-05/0.131, allocations: 69.92 kB / 0.6116 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.131, allocations: 4 kB / 0.6116 GB, free: 4.238 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-06/0.1311, allocations: 0 / 0.6116 GB, free: 4.238 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.1311, allocations: 4 kB / 0.6116 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-06/0.1311, allocations: 8.031 kB / 0.6116 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.1311, allocations: 0 / 0.6116 GB, free: 4.227 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.558e-06/0.1311, allocations: 12.84 kB / 0.6116 GB, free: 4.211 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1311, allocations: 0 / 0.6116 GB, free: 4.211 MB / 0.573 GB Notification: Performance of remove unused functions: time 9.762e-05/0.1312, allocations: 8 kB / 0.6116 GB, free: 4.203 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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 8.759e-05/0.1313, allocations: 80.36 kB / 0.6117 GB, free: 4.117 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.527e-05/0.1313, allocations: 16.92 kB / 0.6117 GB, free: 4.098 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1313, allocations: 4.062 kB / 0.6117 GB, free: 4.094 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.1314, allocations: 20.78 kB / 0.6117 GB, free: 4.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.468e-05/0.1315, allocations: 4 kB / 0.6117 GB, free: 4.066 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.1318, allocations: 136.3 kB / 0.6119 GB, free: 3.902 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.1318, allocations: 53.73 kB / 0.6119 GB, free: 3.832 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.1318, allocations: 12.53 kB / 0.6119 GB, free: 3.82 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.1319, allocations: 67.28 kB / 0.612 GB, free: 3.754 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/0.1319, allocations: 3.938 kB / 0.612 GB, free: 3.75 MB / 0.573 GB Notification: Performance of Templates: time 0.002137/0.134, allocations: 0.771 MB / 0.6128 GB, free: 2.992 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7160569662228227]