Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007482/0.0007482, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001824, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002707, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.09/1.09, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1304/1.22, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7959/0.7959, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2621/1.058, allocations: 49.13 MB / 448.4 MB, free: 5.992 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 4 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.182e-05, allocations: 3.844 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1367/0.1368, allocations: 144 MB / 0.5798 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.1369, allocations: 47.8 kB / 0.5798 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.1369, allocations: 0 / 0.5798 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.137, allocations: 11.94 kB / 0.5798 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.1371, allocations: 19.84 kB / 0.5798 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.1377, allocations: 219.1 kB / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.1378, allocations: 35.61 kB / 0.5801 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.1378, allocations: 4 kB / 0.5801 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.67e-05/0.1379, allocations: 23.97 kB / 0.5801 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.138, allocations: 15.92 kB / 0.5801 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.138, allocations: 4 kB / 0.5801 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.1383, allocations: 163.4 kB / 0.5803 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.1384, allocations: 11.94 kB / 0.5803 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.1384, allocations: 8 kB / 0.5803 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1386, allocations: 91.78 kB / 0.5804 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/0.1386, allocations: 0 / 0.5804 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1386, allocations: 0 / 0.5804 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.1386, allocations: 0 / 0.5804 GB, free: 4.023 MB / 0.5573 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.0003575/0.139, allocations: 266.5 kB / 0.5806 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.139, allocations: 8.031 kB / 0.5806 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.1393, allocations: 110 kB / 0.5808 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.1394, allocations: 109.8 kB / 0.5809 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.1394, allocations: 51.97 kB / 0.5809 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1394, allocations: 8.062 kB / 0.5809 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1396, allocations: 82.92 kB / 0.581 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1396, allocations: 3.984 kB / 0.581 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1396, allocations: 7.984 kB / 0.581 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1396, allocations: 4 kB / 0.581 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.1396, allocations: 4 kB / 0.581 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1398, allocations: 169.9 kB / 0.5812 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.1399, allocations: 26.45 kB / 0.5812 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-06/0.1399, allocations: 4.859 kB / 0.5812 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.262e-05/0.1399, allocations: 16.05 kB / 0.5812 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.14, allocations: 34.56 kB / 0.5813 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.14, allocations: 4 kB / 0.5813 GB, free: 3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.1401, allocations: 45.69 kB / 0.5813 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.1402, allocations: 51.41 kB / 0.5813 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.1402, allocations: 110.6 kB / 0.5815 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.1402, allocations: 25.7 kB / 0.5815 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.1405, allocations: 88.09 kB / 0.5816 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.1405, allocations: 3.953 kB / 0.5816 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1406, allocations: 21.7 kB / 0.5816 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.1406, allocations: 319 kB / 0.5819 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.1406, allocations: 8 kB / 0.5819 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.1407, allocations: 18.58 kB / 0.5819 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.1407, allocations: 33.33 kB / 0.5819 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1407, allocations: 3.938 kB / 0.582 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.009e-05/0.1407, allocations: 45.64 kB / 0.582 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1408, allocations: 7.984 kB / 0.582 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1408, allocations: 8.094 kB / 0.582 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.1408, allocations: 0 / 0.582 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.975e-05/0.1408, allocations: 4 kB / 0.582 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.1408, allocations: 7.938 kB / 0.582 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.1408, allocations: 3.938 kB / 0.582 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-06/0.1408, allocations: 0 / 0.582 GB, free: 2.129 MB / 0.5573 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 4.937e-05/0.1409, allocations: 120.6 kB / 0.5821 GB, free: 2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.1409, allocations: 0 / 0.5821 GB, free: 2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.1409, allocations: 15.3 kB / 0.5822 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1409, allocations: 0 / 0.5822 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1409, allocations: 0 / 0.5822 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1409, allocations: 4 kB / 0.5822 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1411, allocations: 271.7 kB / 0.5824 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1411, allocations: 4 kB / 0.5824 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.1411, allocations: 4 kB / 0.5824 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.1411, allocations: 4 kB / 0.5824 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1411, allocations: 0 / 0.5824 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.1411, allocations: 0 / 0.5824 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1411, allocations: 3.938 kB / 0.5824 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1411, allocations: 0 / 0.5824 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.084e-05/0.1412, allocations: 81.97 kB / 0.5825 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.1412, allocations: 0 / 0.5825 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.1412, allocations: 7.984 kB / 0.5825 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.1412, allocations: 0 / 0.5825 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.1412, allocations: 0 / 0.5825 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.019e-05/0.1412, allocations: 13.12 kB / 0.5825 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1412, allocations: 0 / 0.5825 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001067/0.1414, allocations: 8 kB / 0.5825 GB, free: 1.531 MB / 0.5573 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 9.935e-05/0.1415, allocations: 88.39 kB / 0.5826 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.782e-05/0.1415, allocations: 20.78 kB / 0.5826 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.1415, allocations: 4 kB / 0.5826 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.1415, allocations: 8.797 kB / 0.5827 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1416, allocations: 19.98 kB / 0.5827 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.1424, allocations: 142.2 kB / 0.5828 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.1424, allocations: 55.3 kB / 0.5829 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.1424, allocations: 4 kB / 0.5829 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.1425, allocations: 67.28 kB / 0.5829 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.1425, allocations: 0 / 0.5829 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of Templates: time 0.002337/0.1448, allocations: 0.8102 MB / 0.5837 GB, free: 276 kB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8155988212674856]