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-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-07,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.001116/0.001116, allocations: 107.8 kB / 16.41 MB, free: 6.516 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.001026/0.001026, allocations: 189.8 kB / 17.34 MB, free: 5.738 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01198/0.01198, allocations: 2.781 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08179, allocations: 50.23 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.2797/0.3615, allocations: 106.3 MB / 0.55 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.061/0.4226, allocations: 59.85 MB / 0.6084 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.4242, allocations: 12 kB / 0.6084 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.4273, allocations: 1.192 MB / 0.6096 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03302/0.4604, allocations: 13.24 MB / 0.6225 GB, free: 8.156 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008294/0.4687, allocations: 3.178 MB / 0.6256 GB, free: 4.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.4726, allocations: 2.966 MB / 0.6285 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.473, allocations: 184.2 kB / 0.6287 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.4745, allocations: 1.085 MB / 0.6297 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4756, allocations: 0.9336 MB / 0.6307 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.4758, allocations: 151.9 kB / 0.6308 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/0.4992, allocations: 11.12 MB / 0.6417 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.4996, allocations: 378.3 kB / 0.642 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.5007, allocations: 1.019 MB / 0.643 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01783/0.5186, allocations: 8.7 MB / 0.6515 GB, free: 10.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5186, allocations: 4 kB / 0.6515 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5186, allocations: 0 / 0.6515 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.5186, allocations: 3.938 kB / 0.6515 GB, free: 10.38 MB / 494.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.006439/0.5251, allocations: 3.303 MB / 0.6547 GB, free: 6.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.5251, allocations: 11.97 kB / 0.6548 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.5404, allocations: 1.873 MB / 0.6566 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.542, allocations: 1.095 MB / 0.6577 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.5421, allocations: 172.4 kB / 0.6578 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.5424, allocations: 196.6 kB / 0.658 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.5639, allocations: 6.865 MB / 0.6647 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.564, allocations: 7.938 kB / 0.6647 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.5642, allocations: 88 kB / 0.6648 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.5643, allocations: 52 kB / 0.6649 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/0.5876, allocations: 8.226 MB / 0.6729 GB, free: 4.199 MB / 0.4981 GB 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.01359/0.6012, allocations: 15.55 MB / 0.6881 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/0.6193, allocations: 5.64 MB / 0.6936 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.6214, allocations: 1.225 MB / 0.6948 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3227/0.9441, allocations: 52.21 MB / 0.7458 GB, free: 63.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.9442, allocations: 64.62 kB / 0.7458 GB, free: 63.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=242): time 4.408e-06/0.9442, allocations: 0 / 0.7458 GB, free: 63.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=246): time 0.04362/0.9879, allocations: 14.42 MB / 0.7599 GB, free: 62.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.988, allocations: 102.7 kB / 0.76 GB, free: 62.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.9883, allocations: 351.4 kB / 0.7603 GB, free: 62.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/0.9887, allocations: 65.48 kB / 0.7604 GB, free: 62.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.9889, allocations: 0.5599 MB / 0.7609 GB, free: 61.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007179/0.9896, allocations: 0.8632 MB / 0.7618 GB, free: 61.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.9911, allocations: 0.9781 MB / 0.7627 GB, free: 61.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.9912, allocations: 315.7 kB / 0.763 GB, free: 61.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.9946, allocations: 2.077 MB / 0.7651 GB, free: 61.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.9986, allocations: 2.636 MB / 0.7676 GB, free: 60.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/1.006, allocations: 4.507 MB / 0.772 GB, free: 59.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.006, allocations: 9.141 kB / 0.7721 GB, free: 59.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01092/1.017, allocations: 5.548 MB / 0.7775 GB, free: 56.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.017, allocations: 15.28 kB / 0.7775 GB, free: 56.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.017, allocations: 20 kB / 0.7775 GB, free: 56.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.018, allocations: 309.1 kB / 0.7778 GB, free: 56.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/1.022, allocations: 1.07 MB / 0.7788 GB, free: 55.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/1.023, allocations: 1.886 MB / 0.7807 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.025, allocations: 93.3 kB / 0.7808 GB, free: 53.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005903/1.026, allocations: 402.5 kB / 0.7812 GB, free: 53.69 MB / 0.5294 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.001252/1.027, allocations: 434.4 kB / 0.7816 GB, free: 53.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/1.028, allocations: 115.1 kB / 0.7817 GB, free: 53.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03465/1.063, allocations: 46.83 MB / 0.8274 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001325/1.063, allocations: 159.7 kB / 0.8276 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.063, allocations: 2.719 kB / 0.8276 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-05/1.063, allocations: 15.12 kB / 0.8276 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0584/1.121, allocations: 65.72 MB / 0.8918 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.121, allocations: 3.938 kB / 0.8918 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/1.125, allocations: 0.6776 MB / 0.8924 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.126, allocations: 0.5021 MB / 0.8929 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/1.127, allocations: 75.94 kB / 0.893 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.128, allocations: 2.031 MB / 0.895 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.128, allocations: 0.875 kB / 0.895 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.144, allocations: 10.95 MB / 0.9057 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/1.144, allocations: 452.7 kB / 0.9061 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.144, allocations: 51.94 kB / 0.9061 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.146, allocations: 96 kB / 0.9062 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.146, allocations: 190 kB / 0.9064 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/1.147, allocations: 96.72 kB / 0.9065 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002238/1.147, allocations: 207.1 kB / 0.9067 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.147, allocations: 0 / 0.9067 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005235/1.152, allocations: 1.756 MB / 0.9084 GB, free: 5.348 MB / 0.6075 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.004999/1.157, allocations: 1.582 MB / 0.91 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.167, allocations: 5.797 MB / 0.9156 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.167, allocations: 0.75 kB / 0.9156 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005311/1.173, allocations: 3.757 MB / 0.9193 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.176, allocations: 0.6451 MB / 0.9199 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.188, allocations: 7.894 MB / 0.9276 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/1.189, allocations: 1.933 MB / 0.9295 GB, free: 8 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1805/1.37, allocations: 0.4896 MB / 0.93 GB, free: 285.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/1.37, allocations: 0 / 0.93 GB, free: 285.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.09994/1.47, allocations: 111.9 MB / 1.039 GB, free: 198.8 MB / 0.6231 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)