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.001281/0.001281, allocations: 104.3 kB / 16.27 MB, free: 6.098 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.001312/0.001312, allocations: 188.9 kB / 17.2 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01181/0.01181, allocations: 2.783 MB / 293.8 MB, free: 12.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 355.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2006, allocations: 50.24 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.08255/0.2832, allocations: 106.3 MB / 0.4996 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2754/0.5587, allocations: 59.84 MB / 0.5581 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.5605, allocations: 18.34 kB / 0.5581 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.5632, allocations: 1.184 MB / 0.5592 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03669/0.5999, allocations: 13.21 MB / 0.5721 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008502/0.6085, allocations: 3.176 MB / 0.5753 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004423/0.6129, allocations: 2.957 MB / 0.5781 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.6133, allocations: 177.5 kB / 0.5783 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.6154, allocations: 1.07 MB / 0.5794 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6168, allocations: 0.9319 MB / 0.5803 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.617, allocations: 144 kB / 0.5804 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02828/0.6453, allocations: 10.96 MB / 0.5911 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.6459, allocations: 368.6 kB / 0.5915 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.6478, allocations: 1.029 MB / 0.5925 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02801/0.6758, allocations: 8.642 MB / 0.6009 GB, free: 3.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.6759, allocations: 0 / 0.6009 GB, free: 3.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6759, allocations: 0 / 0.6009 GB, free: 3.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.6759, allocations: 0 / 0.6009 GB, free: 3.891 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.007665/0.6836, allocations: 3.21 MB / 0.604 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6836, allocations: 12.03 kB / 0.604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.6981, allocations: 1.86 MB / 0.6059 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.6999, allocations: 1.095 MB / 0.6069 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.7001, allocations: 172.5 kB / 0.6071 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.7005, allocations: 200.5 kB / 0.6073 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.7216, allocations: 6.861 MB / 0.614 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.7217, allocations: 7.938 kB / 0.614 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.7219, allocations: 92 kB / 0.6141 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.722, allocations: 55.98 kB / 0.6141 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.7452, allocations: 8.223 MB / 0.6222 GB, free: 13.84 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.01396/0.7592, allocations: 15.59 MB / 0.6374 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.7764, allocations: 5.643 MB / 0.6429 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.7785, allocations: 1.233 MB / 0.6441 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2818/1.06, allocations: 52 MB / 0.6949 GB, free: 187.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.06, allocations: 60.47 kB / 0.6949 GB, free: 187.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.388e-06/1.06, allocations: 0 / 0.6949 GB, free: 187.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.04213/1.103, allocations: 14.39 MB / 0.709 GB, free: 185.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.103, allocations: 108.7 kB / 0.7091 GB, free: 185.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/1.103, allocations: 342.7 kB / 0.7094 GB, free: 185.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/1.103, allocations: 65.64 kB / 0.7095 GB, free: 185.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/1.103, allocations: 0.5449 MB / 0.71 GB, free: 185.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000706/1.104, allocations: 0.8164 MB / 0.7108 GB, free: 184.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.105, allocations: 0.9789 MB / 0.7118 GB, free: 184.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/1.106, allocations: 317.2 kB / 0.7121 GB, free: 183.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/1.109, allocations: 2.071 MB / 0.7141 GB, free: 182.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003758/1.113, allocations: 2.637 MB / 0.7167 GB, free: 181.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/1.12, allocations: 4.508 MB / 0.7211 GB, free: 178.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.12, allocations: 4.688 kB / 0.7211 GB, free: 178.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01066/1.131, allocations: 5.553 MB / 0.7265 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/1.131, allocations: 12 kB / 0.7265 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.131, allocations: 22.8 kB / 0.7265 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.132, allocations: 312.2 kB / 0.7268 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/1.135, allocations: 1.062 MB / 0.7279 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/1.137, allocations: 1.885 MB / 0.7297 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.139, allocations: 93.94 kB / 0.7298 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005962/1.14, allocations: 408.3 kB / 0.7302 GB, free: 173 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.001281/1.141, allocations: 440.2 kB / 0.7306 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007598/1.142, allocations: 110.8 kB / 0.7307 GB, free: 172.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03194/1.174, allocations: 46.85 MB / 0.7765 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-05/1.174, allocations: 167.7 kB / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.174, allocations: 0 / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/1.174, allocations: 15.8 kB / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/1.216, allocations: 65.71 MB / 0.8408 GB, free: 59.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.216, allocations: 3.938 kB / 0.8408 GB, free: 59.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003241/1.22, allocations: 0.6761 MB / 0.8415 GB, free: 59.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/1.22, allocations: 0.5147 MB / 0.842 GB, free: 58.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.221, allocations: 75.88 kB / 0.8421 GB, free: 58.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/1.222, allocations: 2.025 MB / 0.844 GB, free: 56.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.222, allocations: 3.984 kB / 0.844 GB, free: 56.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.234, allocations: 10.93 MB / 0.8547 GB, free: 45.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.234, allocations: 439.6 kB / 0.8551 GB, free: 45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/1.235, allocations: 52 kB / 0.8552 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.236, allocations: 92.44 kB / 0.8553 GB, free: 44.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/1.236, allocations: 190 kB / 0.8554 GB, free: 44.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.237, allocations: 99.86 kB / 0.8555 GB, free: 44.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001799/1.237, allocations: 211.1 kB / 0.8557 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/1.237, allocations: 0 / 0.8557 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004689/1.241, allocations: 1.74 MB / 0.8574 GB, free: 42.73 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.004364/1.246, allocations: 1.588 MB / 0.859 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02658/1.272, allocations: 5.923 MB / 0.8648 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.272, allocations: 0 / 0.8648 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.276, allocations: 3.752 MB / 0.8684 GB, free: 32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.28, allocations: 0.641 MB / 0.8691 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1618/1.441, allocations: 7.887 MB / 0.8768 GB, free: 209.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.442, allocations: 1.937 MB / 0.8787 GB, free: 208.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.445, allocations: 0.4934 MB / 0.8791 GB, free: 208.6 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/1.445, allocations: 1.375 kB / 0.8791 GB, free: 208.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.09734/1.542, allocations: 111.6 MB / 0.9882 GB, free: 109.4 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)