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.001189/0.001189, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00134/0.00134, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.0124/0.0124, allocations: 2.782 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 406.6 MB, free: 29.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09355, allocations: 50.23 MB / 456.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.4023/0.4959, allocations: 106.3 MB / 0.55 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06456/0.5605, allocations: 59.86 MB / 0.6084 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.5627, allocations: 15.94 kB / 0.6084 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.5664, allocations: 1.185 MB / 0.6096 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04285/0.6093, allocations: 13.23 MB / 0.6225 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.6195, allocations: 3.192 MB / 0.6256 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004848/0.6244, allocations: 2.963 MB / 0.6285 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.6249, allocations: 185.3 kB / 0.6287 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.6273, allocations: 1.085 MB / 0.6297 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.6295, allocations: 0.9299 MB / 0.6307 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.6299, allocations: 144 kB / 0.6308 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03343/0.6633, allocations: 11.12 MB / 0.6416 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007272/0.6641, allocations: 382.3 kB / 0.642 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.6668, allocations: 1.023 MB / 0.643 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0293/0.6962, allocations: 8.673 MB / 0.6515 GB, free: 10.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6962, allocations: 0 / 0.6515 GB, free: 10.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6962, allocations: 0 / 0.6515 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.395e-05/0.6963, allocations: 0 / 0.6515 GB, free: 10.45 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.009678/0.706, allocations: 3.222 MB / 0.6546 GB, free: 7.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.706, allocations: 8.031 kB / 0.6546 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/0.7215, allocations: 1.849 MB / 0.6564 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.7241, allocations: 1.099 MB / 0.6575 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.7244, allocations: 172.5 kB / 0.6577 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007673/0.7252, allocations: 200.6 kB / 0.6579 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.7487, allocations: 6.861 MB / 0.6646 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.698e-05/0.7488, allocations: 3.938 kB / 0.6646 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005288/0.7494, allocations: 92 kB / 0.6647 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-05/0.7494, allocations: 52 kB / 0.6647 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.7744, allocations: 8.223 MB / 0.6727 GB, free: 4.391 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.0175/0.7919, allocations: 15.53 MB / 0.6879 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/0.811, allocations: 5.652 MB / 0.6934 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.8134, allocations: 1.221 MB / 0.6946 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4182/1.232, allocations: 52.21 MB / 0.7456 GB, free: 63.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.232, allocations: 60.81 kB / 0.7457 GB, free: 63.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=242): time 6.382e-06/1.232, allocations: 0 / 0.7457 GB, free: 63.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=246): time 0.04318/1.275, allocations: 14.39 MB / 0.7597 GB, free: 62.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.275, allocations: 102.3 kB / 0.7598 GB, free: 62.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/1.275, allocations: 347.9 kB / 0.7601 GB, free: 62.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.276, allocations: 65.83 kB / 0.7602 GB, free: 62.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/1.276, allocations: 0.5418 MB / 0.7607 GB, free: 61.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007553/1.277, allocations: 0.8226 MB / 0.7615 GB, free: 61.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.278, allocations: 0.9734 MB / 0.7625 GB, free: 61.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/1.278, allocations: 314.9 kB / 0.7628 GB, free: 60.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/1.282, allocations: 2.077 MB / 0.7648 GB, free: 60.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.285, allocations: 2.639 MB / 0.7674 GB, free: 60.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/1.293, allocations: 4.505 MB / 0.7718 GB, free: 59.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/1.293, allocations: 11.44 kB / 0.7718 GB, free: 59.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01065/1.303, allocations: 5.551 MB / 0.7772 GB, free: 56.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.304, allocations: 14.73 kB / 0.7772 GB, free: 56.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.304, allocations: 16 kB / 0.7773 GB, free: 56.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/1.305, allocations: 305.9 kB / 0.7776 GB, free: 56.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003646/1.309, allocations: 1.068 MB / 0.7786 GB, free: 55.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/1.31, allocations: 1.887 MB / 0.7804 GB, free: 53.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/1.313, allocations: 94.42 kB / 0.7805 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005918/1.313, allocations: 406 kB / 0.7809 GB, free: 53.55 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.001421/1.315, allocations: 429.3 kB / 0.7813 GB, free: 53.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008058/1.316, allocations: 110.8 kB / 0.7814 GB, free: 53.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03615/1.352, allocations: 46.82 MB / 0.8272 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/1.352, allocations: 159.7 kB / 0.8273 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.352, allocations: 0 / 0.8273 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-05/1.352, allocations: 19.94 kB / 0.8273 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06167/1.414, allocations: 65.7 MB / 0.8915 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.414, allocations: 7.984 kB / 0.8915 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/1.418, allocations: 0.6719 MB / 0.8921 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009891/1.419, allocations: 0.5054 MB / 0.8926 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003559/1.419, allocations: 71.94 kB / 0.8927 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/1.421, allocations: 2.028 MB / 0.8947 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.421, allocations: 3.984 kB / 0.8947 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.436, allocations: 10.93 MB / 0.9054 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/1.437, allocations: 436.7 kB / 0.9058 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.437, allocations: 51.94 kB / 0.9058 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.439, allocations: 96.88 kB / 0.9059 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/1.439, allocations: 190 kB / 0.9061 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.439, allocations: 95.94 kB / 0.9062 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002817/1.44, allocations: 211.1 kB / 0.9064 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/1.44, allocations: 0 / 0.9064 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005957/1.446, allocations: 1.738 MB / 0.9081 GB, free: 5.305 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.005022/1.451, allocations: 1.585 MB / 0.9096 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.461, allocations: 5.79 MB / 0.9153 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.461, allocations: 2.062 kB / 0.9153 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005454/1.466, allocations: 3.756 MB / 0.919 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/1.47, allocations: 0.6406 MB / 0.9196 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.481, allocations: 7.809 MB / 0.9272 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.482, allocations: 1.929 MB / 0.9291 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2451/1.727, allocations: 0.4916 MB / 0.9296 GB, free: 285.2 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/1.727, allocations: 0 / 0.9296 GB, free: 285.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.1113/1.839, 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)