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.001575/0.001575, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001187/0.001187, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01286/0.01286, allocations: 2.766 MB / 293.9 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 63.89 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2482, allocations: 50.24 MB / 406.1 MB, free: 32.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.08432/0.3325, allocations: 106.3 MB / 0.5004 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2936/0.6262, allocations: 59.85 MB / 0.5588 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.6283, allocations: 11.09 kB / 0.5588 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.6309, allocations: 1.188 MB / 0.56 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03649/0.6674, allocations: 13.2 MB / 0.5729 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.6782, allocations: 3.176 MB / 0.576 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0053/0.6835, allocations: 2.958 MB / 0.5789 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.684, allocations: 188.3 kB / 0.5791 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.6865, allocations: 1.072 MB / 0.5801 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.6885, allocations: 0.9302 MB / 0.581 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.6887, allocations: 144 kB / 0.5812 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03062/0.7194, allocations: 11.12 MB / 0.592 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.72, allocations: 372.6 kB / 0.5924 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.7218, allocations: 1.023 MB / 0.5934 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02972/0.7515, allocations: 8.679 MB / 0.6019 GB, free: 3.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.7516, allocations: 0 / 0.6019 GB, free: 3.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7516, allocations: 4 kB / 0.6019 GB, free: 3.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.772e-05/0.7516, allocations: 0 / 0.6019 GB, free: 3.648 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.008338/0.76, allocations: 3.208 MB / 0.605 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.7601, allocations: 12.03 kB / 0.605 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/0.7754, allocations: 1.852 MB / 0.6068 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.7781, allocations: 1.1 MB / 0.6079 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.7784, allocations: 168.5 kB / 0.608 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.7787, allocations: 208.5 kB / 0.6082 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02302/0.8018, allocations: 6.861 MB / 0.6149 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.8019, allocations: 7.938 kB / 0.6149 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.8022, allocations: 91.94 kB / 0.615 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.8023, allocations: 52 kB / 0.6151 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/0.8271, allocations: 8.226 MB / 0.6231 GB, free: 13.6 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.01741/0.8445, allocations: 15.53 MB / 0.6383 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/0.8629, allocations: 5.638 MB / 0.6438 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/0.8652, allocations: 1.221 MB / 0.645 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3271/1.192, allocations: 52.21 MB / 0.696 GB, free: 109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/1.192, allocations: 56.94 kB / 0.696 GB, free: 109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.03e-06/1.192, allocations: 0 / 0.696 GB, free: 109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.04519/1.238, allocations: 14.4 MB / 0.7101 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.238, allocations: 104 kB / 0.7102 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/1.238, allocations: 354.6 kB / 0.7105 GB, free: 108 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004225/1.238, allocations: 64.42 kB / 0.7106 GB, free: 108 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.239, allocations: 0.5444 MB / 0.7111 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/1.24, allocations: 0.8159 MB / 0.7119 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/1.241, allocations: 0.978 MB / 0.7129 GB, free: 107 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/1.241, allocations: 314.3 kB / 0.7132 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/1.245, allocations: 2.079 MB / 0.7152 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/1.249, allocations: 2.636 MB / 0.7178 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007498/1.257, allocations: 4.51 MB / 0.7222 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.257, allocations: 3.938 kB / 0.7222 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01134/1.268, allocations: 5.55 MB / 0.7276 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.268, allocations: 20.12 kB / 0.7276 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/1.268, allocations: 15.69 kB / 0.7276 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/1.269, allocations: 308.4 kB / 0.7279 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/1.273, allocations: 1.065 MB / 0.729 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/1.275, allocations: 1.882 MB / 0.7308 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/1.277, allocations: 101.5 kB / 0.7309 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008237/1.277, allocations: 400 kB / 0.7313 GB, free: 103.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.001383/1.279, allocations: 434.4 kB / 0.7317 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007147/1.28, allocations: 106.8 kB / 0.7318 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03284/1.312, allocations: 46.82 MB / 0.7775 GB, free: 65.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.26e-05/1.313, allocations: 167.7 kB / 0.7777 GB, free: 65.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.313, allocations: 0.875 kB / 0.7777 GB, free: 65.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/1.313, allocations: 15.94 kB / 0.7777 GB, free: 65.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/1.355, allocations: 65.7 MB / 0.8419 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/1.355, allocations: 0 / 0.8419 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/1.358, allocations: 0.6779 MB / 0.8425 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/1.36, allocations: 0.504 MB / 0.843 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006797/1.36, allocations: 79.88 kB / 0.8431 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/1.362, allocations: 2.026 MB / 0.8451 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.362, allocations: 0 / 0.8451 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/1.379, allocations: 10.93 MB / 0.8557 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/1.379, allocations: 439.6 kB / 0.8562 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/1.38, allocations: 47.98 kB / 0.8562 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.381, allocations: 100 kB / 0.8563 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/1.382, allocations: 186 kB / 0.8565 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.382, allocations: 99.86 kB / 0.8566 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002604/1.382, allocations: 215.2 kB / 0.8568 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.382, allocations: 4 kB / 0.8568 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005407/1.388, allocations: 1.742 MB / 0.8585 GB, free: 13.98 MB / 0.5294 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.005777/1.393, allocations: 1.572 MB / 0.86 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.404, allocations: 5.792 MB / 0.8657 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.404, allocations: 4.75 kB / 0.8657 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005271/1.409, allocations: 3.755 MB / 0.8693 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.412, allocations: 0.6318 MB / 0.87 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.425, allocations: 7.741 MB / 0.8775 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1852/1.61, allocations: 1.928 MB / 0.8794 GB, free: 256.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01125/1.621, allocations: 11.74 MB / 0.8909 GB, free: 255.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.623, allocations: 495.9 kB / 0.8913 GB, free: 255.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/1.623, allocations: 1.781 kB / 0.8913 GB, free: 255.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1176/1.741, allocations: 108.5 MB / 0.9973 GB, free: 154.6 MB / 0.545 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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe 2>&1)