Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.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.001831/0.001831, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 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.001918/0.001918, allocations: 222.4 kB / 22.25 MB, free: 3.57 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.743/1.743, allocations: 230.6 MB / 256 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.04806/0.04806, allocations: 2.936 MB / 315.4 MB, free: 14.98 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.006667/0.006667, allocations: 78.62 kB / 440.2 MB, free: 45.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1199, allocations: 54.23 MB / 494.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical): time 0.5749/0.6948, allocations: 74.23 MB / 0.5553 GB, free: 3.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1011/0.7959, allocations: 35.21 MB / 0.5897 GB, free: 2.305 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007159/0.8031, allocations: 3.75 kB / 0.5897 GB, free: 2.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.8142, allocations: 0.9967 MB / 0.5907 GB, free: 2.148 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06115/0.8753, allocations: 6.766 MB / 0.5973 GB, free: 14.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.8768, allocations: 285.2 kB / 0.5975 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.8825, allocations: 1.344 MB / 0.5988 GB, free: 13.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.8827, allocations: 58.66 kB / 0.5989 GB, free: 13.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/0.8834, allocations: 427 kB / 0.5993 GB, free: 13.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.8874, allocations: 484.4 kB / 0.5998 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.8874, allocations: 39.53 kB / 0.5998 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 48.83/49.71, allocations: 260.1 MB / 0.8538 GB, free: 97.55 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/49.71, allocations: 148.1 kB / 0.8539 GB, free: 97.47 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/49.72, allocations: 491.7 kB / 0.8544 GB, free: 97.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007906/49.72, allocations: 2.796 MB / 0.8571 GB, free: 95.11 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/49.72, allocations: 0 / 0.8571 GB, free: 95.11 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.322e-06/49.72, allocations: 0 / 0.8571 GB, free: 95.11 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.017e-05/49.72, allocations: 0 / 0.8571 GB, free: 95.11 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.0009786/49.72, allocations: 1.528 MB / 0.8586 GB, free: 93.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/49.72, allocations: 12.03 kB / 0.8586 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/49.73, allocations: 1.215 MB / 0.8598 GB, free: 92.97 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/49.73, allocations: 232.6 kB / 0.86 GB, free: 92.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/49.73, allocations: 75.75 kB / 0.8601 GB, free: 92.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/49.73, allocations: 99.19 kB / 0.8602 GB, free: 92.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/49.73, allocations: 1.747 MB / 0.8619 GB, free: 91.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/49.73, allocations: 0 / 0.8619 GB, free: 91.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/49.73, allocations: 43.44 kB / 0.862 GB, free: 91.58 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/49.73, allocations: 70.25 kB / 0.862 GB, free: 91.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/49.73, allocations: 1.665 MB / 0.8637 GB, free: 90.61 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/49.73, allocations: 3.429 MB / 0.867 GB, free: 87.44 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/49.73, allocations: 0.5283 MB / 0.8675 GB, free: 86.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/49.73, allocations: 0.5016 MB / 0.868 GB, free: 86.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/49.74, allocations: 1.321 MB / 0.8693 GB, free: 85.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/49.74, allocations: 45.12 kB / 0.8693 GB, free: 85.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=182): time 1.373e-06/49.74, allocations: 0 / 0.8693 GB, free: 85.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=182): time 0.001307/49.74, allocations: 1.528 MB / 0.8708 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/49.74, allocations: 81.67 kB / 0.8709 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/49.74, allocations: 142.3 kB / 0.871 GB, free: 83.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/49.74, allocations: 29.7 kB / 0.8711 GB, free: 83.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/49.74, allocations: 406 kB / 0.8715 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/49.74, allocations: 0.5895 MB / 0.872 GB, free: 82.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/49.74, allocations: 133.6 kB / 0.8722 GB, free: 82.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.686e-05/49.74, allocations: 318 kB / 0.8725 GB, free: 81.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/49.74, allocations: 345.1 kB / 0.8728 GB, free: 81.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/49.74, allocations: 0.4967 MB / 0.8733 GB, free: 80.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/49.74, allocations: 1.022 MB / 0.8743 GB, free: 79.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/49.74, allocations: 0 / 0.8743 GB, free: 79.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0008762/49.74, allocations: 1.054 MB / 0.8753 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/49.74, allocations: 11.94 kB / 0.8753 GB, free: 78.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/49.74, allocations: 4 kB / 0.8753 GB, free: 78.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/49.74, allocations: 7 kB / 0.8753 GB, free: 78.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/49.74, allocations: 28.92 kB / 0.8754 GB, free: 78.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/49.74, allocations: 6.75 kB / 0.8754 GB, free: 78.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/49.74, allocations: 91.08 kB / 0.8755 GB, free: 78.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/49.74, allocations: 24 kB / 0.8755 GB, free: 78.63 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001977/49.74, allocations: 226.9 kB / 0.8757 GB, free: 78.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/49.74, allocations: 51.56 kB / 0.8757 GB, free: 78.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/49.74, allocations: 1.738 MB / 0.8774 GB, free: 76.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008321/49.74, allocations: 1.026 MB / 0.8784 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/49.74, allocations: 0 / 0.8784 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/49.74, allocations: 13.2 kB / 0.8785 GB, free: 75.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/49.74, allocations: 2.275 MB / 0.8807 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/49.74, allocations: 7.938 kB / 0.8807 GB, free: 73.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/49.74, allocations: 46.8 kB / 0.8807 GB, free: 73.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/49.74, allocations: 4 kB / 0.8807 GB, free: 73.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/49.74, allocations: 16 kB / 0.8807 GB, free: 73.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/49.74, allocations: 5.688 kB / 0.8808 GB, free: 73.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/49.74, allocations: 0 / 0.8808 GB, free: 73.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/49.74, allocations: 1.225 MB / 0.882 GB, free: 71.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/49.74, allocations: 83.14 kB / 0.882 GB, free: 71.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/49.74, allocations: 19.89 kB / 0.882 GB, free: 71.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/49.75, allocations: 8 kB / 0.8821 GB, free: 71.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/49.75, allocations: 35.94 kB / 0.8821 GB, free: 71.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/49.75, allocations: 20 kB / 0.8821 GB, free: 71.76 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.551e-05/49.75, allocations: 144.2 kB / 0.8822 GB, free: 71.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/49.75, allocations: 0 / 0.8822 GB, free: 71.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006171/49.75, allocations: 417.2 kB / 0.8826 GB, free: 71.21 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: 12 (state1.phase,$cse4.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,state2.phase,$cse2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.001007/49.75, allocations: 0.5589 MB / 0.8832 GB, free: 70.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00097/49.75, allocations: 1.559 MB / 0.8847 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/49.75, allocations: 3 kB / 0.8847 GB, free: 69.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/49.75, allocations: 1.378 MB / 0.8861 GB, free: 67.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/49.75, allocations: 0.548 MB / 0.8866 GB, free: 66.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/49.75, allocations: 2.721 MB / 0.8893 GB, free: 64.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/49.75, allocations: 0.7281 MB / 0.89 GB, free: 63.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004441/49.75, allocations: 143.8 kB / 0.8901 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/49.75, allocations: 79.44 kB / 0.8902 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of SimCode: time 2.9e-07/49.75, allocations: 4 kB / 0.8902 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.03135/49.78, allocations: 31.78 MB / 0.9212 GB, free: 31.79 MB / 0.5573 GB " [Timeout remaining time 610] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 56.56159892398864]