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.000894/0.000894, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00112/0.00112, allocations: 177.3 kB / 15.95 MB, free: 216 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.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2212/0.2212, allocations: 2.779 MB / 293.8 MB, free: 4.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.000409, allocations: 8 kB / 355.5 MB, free: 4.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 51.26 MB / 406.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.3732/0.526, allocations: 87.85 MB / 494.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06558/0.5916, allocations: 49.29 MB / 0.5312 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.5944, allocations: 8 kB / 0.5312 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.598, allocations: 1.066 MB / 0.5322 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04316/0.6411, allocations: 11.31 MB / 0.5433 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.6514, allocations: 2.708 MB / 0.5459 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005635/0.657, allocations: 2.009 MB / 0.5479 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.6576, allocations: 182.3 kB / 0.548 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.6604, allocations: 0.9966 MB / 0.549 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.6622, allocations: 0.8017 MB / 0.5498 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.6624, allocations: 52 kB / 0.5498 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03329/0.6957, allocations: 11.58 MB / 0.5611 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005255/0.6962, allocations: 262.8 kB / 0.5614 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.6973, allocations: 424.9 kB / 0.5618 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.7137, allocations: 6.06 MB / 0.5677 GB, free: 1.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7137, allocations: 3.938 kB / 0.5677 GB, free: 1.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7137, allocations: 0 / 0.5677 GB, free: 1.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.7138, allocations: 0 / 0.5677 GB, free: 1.539 MB / 430.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.008868/0.7226, allocations: 2.823 MB / 0.5705 GB, free: 14.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.7227, allocations: 8.031 kB / 0.5705 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/0.7375, allocations: 1.875 MB / 0.5723 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.7402, allocations: 1.092 MB / 0.5734 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.7404, allocations: 172.1 kB / 0.5736 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/0.7408, allocations: 200 kB / 0.5737 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.7607, allocations: 6.862 MB / 0.5804 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.7608, allocations: 4 kB / 0.5804 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.7611, allocations: 88 kB / 0.5805 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.7612, allocations: 55.94 kB / 0.5806 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3269/1.088, allocations: 8.272 MB / 0.5887 GB, free: 108.9 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.01765/1.106, allocations: 15.55 MB / 0.6039 GB, free: 98.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/1.123, allocations: 5.708 MB / 0.6094 GB, free: 98.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/1.228, allocations: 52.43 MB / 0.6606 GB, free: 67.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/1.228, allocations: 60.62 kB / 0.6607 GB, free: 67.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 4.98e-06/1.228, allocations: 2.562 kB / 0.6607 GB, free: 67.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=246): time 0.04269/1.271, allocations: 14.79 MB / 0.6751 GB, free: 59.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/1.271, allocations: 107.1 kB / 0.6752 GB, free: 59.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/1.271, allocations: 349.5 kB / 0.6756 GB, free: 58.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/1.272, allocations: 65.7 kB / 0.6756 GB, free: 58.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/1.272, allocations: 0.545 MB / 0.6762 GB, free: 58.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/1.273, allocations: 0.8152 MB / 0.677 GB, free: 57.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.273, allocations: 52 kB / 0.677 GB, free: 57.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.273, allocations: 404.5 kB / 0.6774 GB, free: 56.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/1.277, allocations: 2.086 MB / 0.6794 GB, free: 54.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/1.28, allocations: 2.639 MB / 0.682 GB, free: 51.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/1.283, allocations: 2.08 MB / 0.684 GB, free: 49.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.283, allocations: 15.09 kB / 0.6841 GB, free: 49.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009568/1.293, allocations: 5.607 MB / 0.6895 GB, free: 44.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/1.293, allocations: 16.06 kB / 0.6895 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.293, allocations: 19.98 kB / 0.6896 GB, free: 44.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/1.294, allocations: 349 kB / 0.6899 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/1.298, allocations: 1.07 MB / 0.6909 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/1.299, allocations: 1.925 MB / 0.6928 GB, free: 40.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.301, allocations: 231.6 kB / 0.693 GB, free: 40.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006308/1.302, allocations: 403.6 kB / 0.6934 GB, free: 40.32 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.00128/1.303, allocations: 430.7 kB / 0.6938 GB, free: 39.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/1.304, allocations: 110.8 kB / 0.6939 GB, free: 39.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0416/1.346, allocations: 46.9 MB / 0.7397 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001533/1.346, allocations: 167 kB / 0.7399 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.346, allocations: 0 / 0.7399 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.934e-05/1.346, allocations: 19.94 kB / 0.7399 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2797/1.626, allocations: 65.74 MB / 0.8041 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.626, allocations: 0 / 0.8041 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003955/1.63, allocations: 0.6963 MB / 0.8048 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/1.631, allocations: 0.5426 MB / 0.8053 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/1.631, allocations: 75.95 kB / 0.8054 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.633, allocations: 2.065 MB / 0.8074 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.633, allocations: 2.891 kB / 0.8074 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.648, allocations: 10.94 MB / 0.8181 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/1.648, allocations: 437.1 kB / 0.8185 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/1.648, allocations: 52.69 kB / 0.8186 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.65, allocations: 242.1 kB / 0.8188 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/1.651, allocations: 186.9 kB / 0.819 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.651, allocations: 98.39 kB / 0.8191 GB, free: 132.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002645/1.651, allocations: 210.8 kB / 0.8193 GB, free: 132.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.651, allocations: 0 / 0.8193 GB, free: 132.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006658/1.658, allocations: 1.74 MB / 0.821 GB, free: 132.6 MB / 478.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.005032/1.663, allocations: 1.594 MB / 0.8225 GB, free: 132.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00838/1.671, allocations: 5.819 MB / 0.8282 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.671, allocations: 0 / 0.8282 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/1.676, allocations: 3.749 MB / 0.8319 GB, free: 124.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.679, allocations: 0.5876 MB / 0.8325 GB, free: 123.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.69, allocations: 9.475 MB / 0.8417 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.691, allocations: 1.993 MB / 0.8437 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01328/1.705, allocations: 11.74 MB / 0.8551 GB, free: 105.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.707, allocations: 494.8 kB / 0.8556 GB, free: 105.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/1.707, allocations: 0 / 0.8556 GB, free: 105.3 MB / 478.1 MB Notification: Performance of Templates: time 0.3009/2.007, allocations: 105.1 MB / 0.9583 GB, free: 146.9 MB / 478.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: