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.0009745/0.0009745, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.001075/0.001075, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01227/0.01227, allocations: 2.784 MB / 293.5 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 354.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 50.23 MB / 404.8 MB, free: 33.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.0838/0.3142, allocations: 105.5 MB / 0.4984 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3453/0.6596, allocations: 59.7 MB / 0.5567 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.6621, allocations: 13.56 kB / 0.5567 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.6652, allocations: 1.085 MB / 0.5577 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04241/0.7076, allocations: 12.01 MB / 0.5695 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.72, allocations: 2.934 MB / 0.5723 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005668/0.7257, allocations: 2.957 MB / 0.5752 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.7264, allocations: 183.1 kB / 0.5754 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.7295, allocations: 1.088 MB / 0.5765 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.7322, allocations: 0.9366 MB / 0.5774 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005323/0.7327, allocations: 144 kB / 0.5775 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0329/0.7656, allocations: 11.04 MB / 0.5883 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.7664, allocations: 370.3 kB / 0.5886 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.7685, allocations: 1.029 MB / 0.5896 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.7846, allocations: 6.227 MB / 0.5957 GB, free: 8.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7846, allocations: 0 / 0.5957 GB, free: 8.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7847, allocations: 4 kB / 0.5957 GB, free: 8.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.7847, allocations: 0 / 0.5957 GB, free: 8.188 MB / 414.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.009263/0.794, allocations: 3.21 MB / 0.5989 GB, free: 4.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.794, allocations: 12.03 kB / 0.5989 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.8094, allocations: 1.856 MB / 0.6007 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.8123, allocations: 1.092 MB / 0.6018 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.8125, allocations: 168.5 kB / 0.6019 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/0.8131, allocations: 208.5 kB / 0.6021 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/0.8376, allocations: 6.861 MB / 0.6088 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.8376, allocations: 3.938 kB / 0.6088 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.8379, allocations: 88 kB / 0.6089 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.838, allocations: 52 kB / 0.609 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.8626, allocations: 8.23 MB / 0.617 GB, free: 2.145 MB / 430.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.01688/0.8795, allocations: 15.49 MB / 0.6321 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/0.8978, allocations: 5.642 MB / 0.6376 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.9001, allocations: 1.225 MB / 0.6388 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1037/1.004, allocations: 51.99 MB / 0.6896 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.004, allocations: 60.56 kB / 0.6896 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.158e-06/1.004, allocations: 0 / 0.6896 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.2532/1.257, allocations: 14.39 MB / 0.7037 GB, free: 189.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.257, allocations: 106.2 kB / 0.7038 GB, free: 189 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/1.258, allocations: 350.5 kB / 0.7041 GB, free: 188.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.258, allocations: 67.27 kB / 0.7042 GB, free: 188.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/1.258, allocations: 0.5427 MB / 0.7047 GB, free: 188.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/1.259, allocations: 0.8161 MB / 0.7055 GB, free: 187.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/1.26, allocations: 0.9778 MB / 0.7065 GB, free: 187.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/1.26, allocations: 321.2 kB / 0.7068 GB, free: 187 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.264, allocations: 2.07 MB / 0.7088 GB, free: 186.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/1.267, allocations: 2.641 MB / 0.7114 GB, free: 184.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006788/1.274, allocations: 4.507 MB / 0.7158 GB, free: 182.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/1.274, allocations: 4.469 kB / 0.7158 GB, free: 182.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01296/1.287, allocations: 5.55 MB / 0.7212 GB, free: 179.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.287, allocations: 18.45 kB / 0.7212 GB, free: 179.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.287, allocations: 15.56 kB / 0.7213 GB, free: 179.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/1.289, allocations: 316.2 kB / 0.7216 GB, free: 179.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/1.293, allocations: 1.064 MB / 0.7226 GB, free: 179.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.295, allocations: 1.883 MB / 0.7244 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.299, allocations: 223.8 kB / 0.7246 GB, free: 177.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.301, allocations: 401.8 kB / 0.725 GB, free: 177.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 17 (testBasePropertiesDynamic.medium.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesExplicit.medium1.baseProperties.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002159/1.303, allocations: 448 kB / 0.7255 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.304, allocations: 106.8 kB / 0.7256 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0382/1.342, allocations: 46.85 MB / 0.7713 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/1.343, allocations: 163.7 kB / 0.7715 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.343, allocations: 3 kB / 0.7715 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/1.343, allocations: 15.94 kB / 0.7715 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04312/1.386, allocations: 65.71 MB / 0.8357 GB, free: 64.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.386, allocations: 0 / 0.8357 GB, free: 64.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/1.389, allocations: 0.6832 MB / 0.8363 GB, free: 64.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008433/1.39, allocations: 0.514 MB / 0.8368 GB, free: 63.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/1.391, allocations: 71.94 kB / 0.8369 GB, free: 63.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/1.392, allocations: 2.024 MB / 0.8389 GB, free: 61.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.392, allocations: 3.984 kB / 0.8389 GB, free: 61.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.404, allocations: 10.92 MB / 0.8495 GB, free: 50.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/1.404, allocations: 446.9 kB / 0.85 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.404, allocations: 48 kB / 0.85 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.406, allocations: 224.9 kB / 0.8502 GB, free: 49.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/1.407, allocations: 186 kB / 0.8504 GB, free: 49.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.407, allocations: 99.92 kB / 0.8505 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001926/1.407, allocations: 214.3 kB / 0.8507 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.407, allocations: 0 / 0.8507 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005269/1.412, allocations: 1.74 MB / 0.8524 GB, free: 47.7 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004967/1.417, allocations: 1.577 MB / 0.8539 GB, free: 46.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02619/1.444, allocations: 5.931 MB / 0.8597 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.444, allocations: 0 / 0.8597 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/1.448, allocations: 3.752 MB / 0.8634 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.452, allocations: 0.6489 MB / 0.864 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1941/1.646, allocations: 9.623 MB / 0.8734 GB, free: 207.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/1.647, allocations: 1.936 MB / 0.8753 GB, free: 207.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/1.65, allocations: 0.4951 MB / 0.8758 GB, free: 207.1 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/1.65, allocations: 0 / 0.8758 GB, free: 207.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1078/1.758, allocations: 111.6 MB / 0.9848 GB, free: 110.8 MB / 0.4981 GB make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.makefile (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)