Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007646, allocations: 84.38 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.0008607/0.0008607, 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 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1663/0.1663, allocations: 2.772 MB / 293.9 MB, free: 4.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 8 kB / 355.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 51.26 MB / 406.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.394/0.5212, allocations: 98.24 MB / 0.4933 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.07527/0.5965, allocations: 55.46 MB / 0.5474 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.5996, allocations: 8 kB / 0.5474 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.6038, allocations: 1.007 MB / 0.5484 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0577/0.6615, allocations: 10.65 MB / 0.5588 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.673, allocations: 2.553 MB / 0.5613 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006334/0.6794, allocations: 2.814 MB / 0.5641 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.6803, allocations: 180.7 kB / 0.5642 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.6835, allocations: 0.9374 MB / 0.5652 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.6867, allocations: 0.8479 MB / 0.566 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.6873, allocations: 56 kB / 0.566 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03875/0.7261, allocations: 10.45 MB / 0.5762 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009033/0.727, allocations: 270.5 kB / 0.5765 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.7285, allocations: 424.9 kB / 0.5769 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.7481, allocations: 6.096 MB / 0.5829 GB, free: 2.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.7482, allocations: 4 kB / 0.5829 GB, free: 2.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7482, allocations: 0 / 0.5829 GB, free: 2.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.7484, allocations: 4 kB / 0.5829 GB, free: 2.355 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.3443/1.093, allocations: 2.812 MB / 0.5856 GB, free: 132 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/1.093, allocations: 10.19 kB / 0.5856 GB, free: 132 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/1.109, allocations: 1.886 MB / 0.5875 GB, free: 131.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/1.112, allocations: 1.081 MB / 0.5885 GB, free: 131.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/1.112, allocations: 171.1 kB / 0.5887 GB, free: 131.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/1.113, allocations: 198.9 kB / 0.5889 GB, free: 131.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/1.136, allocations: 6.883 MB / 0.5956 GB, free: 129.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/1.136, allocations: 7.125 kB / 0.5956 GB, free: 129.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008001/1.137, allocations: 83.19 kB / 0.5957 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.01e-05/1.137, allocations: 55.88 kB / 0.5957 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/1.159, allocations: 8.274 MB / 0.6038 GB, free: 127.1 MB / 446.1 MB 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.01693/1.176, allocations: 15.51 MB / 0.619 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/1.193, allocations: 5.706 MB / 0.6245 GB, free: 111.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/1.195, allocations: 1.242 MB / 0.6257 GB, free: 111.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1025/1.298, allocations: 52.4 MB / 0.6769 GB, free: 69.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/1.298, allocations: 64.56 kB / 0.677 GB, free: 69.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 4.949e-06/1.298, allocations: 0 / 0.677 GB, free: 69.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=246): time 0.04571/1.344, allocations: 14.55 MB / 0.6912 GB, free: 54.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/1.344, allocations: 107.1 kB / 0.6913 GB, free: 54.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/1.344, allocations: 352 kB / 0.6916 GB, free: 54.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006173/1.345, allocations: 65.7 kB / 0.6917 GB, free: 54.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/1.345, allocations: 0.5411 MB / 0.6922 GB, free: 53.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.347, allocations: 0.817 MB / 0.693 GB, free: 52.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/1.347, allocations: 52 kB / 0.6931 GB, free: 52.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/1.347, allocations: 403.7 kB / 0.6934 GB, free: 52.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/1.351, allocations: 2.086 MB / 0.6955 GB, free: 50.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/1.355, allocations: 2.648 MB / 0.6981 GB, free: 47.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/1.359, allocations: 2.099 MB / 0.7001 GB, free: 45.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/1.359, allocations: 7.938 kB / 0.7001 GB, free: 45.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01148/1.37, allocations: 5.61 MB / 0.7056 GB, free: 39.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/1.37, allocations: 8 kB / 0.7056 GB, free: 39.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/1.37, allocations: 23.94 kB / 0.7056 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/1.372, allocations: 335.2 kB / 0.706 GB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/1.376, allocations: 1.073 MB / 0.707 GB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/1.377, allocations: 1.93 MB / 0.7089 GB, free: 36.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/1.38, allocations: 231.6 kB / 0.7091 GB, free: 35.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009896/1.381, allocations: 407.6 kB / 0.7095 GB, free: 35.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 17 (testBasePropertiesExplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesDynamic.medium.phase,testStatesSat.state2.phase,testStatesSat.state1.phase,testStates.state2.phase,testStates.state1.phase,testStatesSat.completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 8,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001944/1.383, allocations: 422.1 kB / 0.7099 GB, free: 35.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/1.384, allocations: 114.7 kB / 0.71 GB, free: 34.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04593/1.43, allocations: 46.9 MB / 0.7558 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002058/1.43, allocations: 163.7 kB / 0.756 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/1.43, allocations: 0 / 0.756 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-05/1.43, allocations: 15.95 kB / 0.756 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3987/1.829, allocations: 65.72 MB / 0.8202 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-05/1.829, allocations: 0 / 0.8202 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003868/1.833, allocations: 0.6924 MB / 0.8208 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.835, allocations: 0.5494 MB / 0.8214 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/1.836, allocations: 71.47 kB / 0.8214 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/1.838, allocations: 2.068 MB / 0.8235 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/1.838, allocations: 0.5625 kB / 0.8235 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/1.86, allocations: 10.94 MB / 0.8341 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.861, allocations: 437.9 kB / 0.8346 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/1.862, allocations: 52.45 kB / 0.8346 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/1.865, allocations: 244.6 kB / 0.8348 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.865, allocations: 184.2 kB / 0.835 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003457/1.865, allocations: 100.8 kB / 0.8351 GB, free: 101.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003448/1.866, allocations: 210.5 kB / 0.8353 GB, free: 100.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.866, allocations: 3.391 kB / 0.8353 GB, free: 100.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008752/1.875, allocations: 1.741 MB / 0.837 GB, free: 99.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (testBasePropertiesDynamic.medium.p,testBasePropertiesDynamic.medium.h) * Number of discrete variables: 80 ($cse1.region3boundary,$cse2.region3boundary,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.region3boundary,$cse36.region3boundary,$cse37.region3boundary,$cse38.region3boundary,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.region3boundary,$cse46.phase,$cse46.region,$cse47.region3boundary,$cse48.region3boundary,$cse49.phase,$cse49.region,testBasePropertiesExplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesDynamic.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 50 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007666/1.882, allocations: 1.598 MB / 0.8386 GB, free: 98.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01185/1.894, allocations: 5.817 MB / 0.8443 GB, free: 93.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.894, allocations: 0 / 0.8443 GB, free: 93.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006945/1.901, allocations: 3.753 MB / 0.8479 GB, free: 89.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.907, allocations: 0.6342 MB / 0.8485 GB, free: 89.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.923, allocations: 9.488 MB / 0.8578 GB, free: 80.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.925, allocations: 1.936 MB / 0.8597 GB, free: 78.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01208/1.937, allocations: 11.74 MB / 0.8712 GB, free: 69.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/1.939, allocations: 486.9 kB / 0.8716 GB, free: 68.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/1.939, allocations: 0 / 0.8716 GB, free: 68.55 MB / 462.1 MB Notification: Performance of Templates: time 0.407/2.346, allocations: 105.2 MB / 0.9744 GB, free: 119.6 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe 2>&1) Environment - environmentSimulation: