Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.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.TestRunnerTwoPhase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007675/0.007675, allocations: 102.1 kB / 15.73 MB, free: 6.047 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.001604/0.001604, allocations: 188.3 kB / 16.67 MB, free: 5.98 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1233/0.1233, allocations: 2.767 MB / 293.3 MB, free: 3.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 405.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2978, allocations: 50.24 MB / 456.1 MB, free: 21.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.09415/0.3921, allocations: 106.3 MB / 0.5493 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.816, allocations: 59.84 MB / 0.6077 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.8189, allocations: 12.03 kB / 0.6077 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.8227, allocations: 1.192 MB / 0.6089 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0469/0.8697, allocations: 13.23 MB / 0.6218 GB, free: 396 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.8803, allocations: 3.182 MB / 0.6249 GB, free: 304 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005591/0.8859, allocations: 2.962 MB / 0.6278 GB, free: 300 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005431/0.8865, allocations: 183.1 kB / 0.628 GB, free: 16.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.8901, allocations: 1.098 MB / 0.6291 GB, free: 16.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.8925, allocations: 0.9296 MB / 0.63 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.8929, allocations: 145.1 kB / 0.6301 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0379/0.9308, allocations: 11.12 MB / 0.641 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.9316, allocations: 378.2 kB / 0.6413 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.9347, allocations: 1.03 MB / 0.6423 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03603/0.9708, allocations: 8.671 MB / 0.6508 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.9708, allocations: 0 / 0.6508 GB, free: 11.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.9708, allocations: 0 / 0.6508 GB, free: 11.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.407e-05/0.9709, allocations: 0 / 0.6508 GB, free: 11.49 MB / 478.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.008416/0.9793, allocations: 3.217 MB / 0.654 GB, free: 9.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9793, allocations: 8.156 kB / 0.654 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.9943, allocations: 1.855 MB / 0.6558 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.9971, allocations: 1.09 MB / 0.6568 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.9974, allocations: 173.1 kB / 0.657 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009977/0.9984, allocations: 201 kB / 0.6572 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/1.021, allocations: 6.865 MB / 0.6639 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/1.021, allocations: 3.938 kB / 0.6639 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/1.022, allocations: 86.94 kB / 0.664 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/1.022, allocations: 52 kB / 0.664 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/1.046, allocations: 8.229 MB / 0.6721 GB, free: 11.81 MB / 494.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.01856/1.065, allocations: 15.54 MB / 0.6872 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.082, allocations: 5.649 MB / 0.6928 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.084, allocations: 1.225 MB / 0.694 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1023/1.187, allocations: 52.21 MB / 0.7449 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/1.187, allocations: 56.56 kB / 0.745 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=242): time 4.158e-06/1.187, allocations: 0 / 0.745 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=246): time 0.05164/1.238, allocations: 14.4 MB / 0.7591 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/1.239, allocations: 103.1 kB / 0.7592 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/1.239, allocations: 352.1 kB / 0.7595 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006869/1.24, allocations: 69.64 kB / 0.7596 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/1.24, allocations: 0.5374 MB / 0.7601 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.242, allocations: 0.8178 MB / 0.7609 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00237/1.244, allocations: 0.9804 MB / 0.7618 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.244, allocations: 310 kB / 0.7621 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/1.248, allocations: 2.078 MB / 0.7642 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/1.255, allocations: 2.637 MB / 0.7667 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009714/1.264, allocations: 4.514 MB / 0.7711 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.264, allocations: 8 kB / 0.7712 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01431/1.279, allocations: 5.548 MB / 0.7766 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/1.279, allocations: 12 kB / 0.7766 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/1.279, allocations: 16 kB / 0.7766 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.28, allocations: 310.4 kB / 0.7769 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.285, allocations: 1.065 MB / 0.7779 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/1.287, allocations: 1.887 MB / 0.7798 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/1.289, allocations: 100 kB / 0.7799 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.291, allocations: 395.6 kB / 0.7802 GB, free: 5.203 MB / 0.5919 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.002424/1.293, allocations: 441.7 kB / 0.7807 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.294, allocations: 110.8 kB / 0.7808 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3417/1.636, allocations: 46.82 MB / 0.8265 GB, free: 278.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001352/1.636, allocations: 165.4 kB / 0.8267 GB, free: 278.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.636, allocations: 0 / 0.8267 GB, free: 278.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.408e-05/1.636, allocations: 12.61 kB / 0.8267 GB, free: 278.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0633/1.7, allocations: 65.69 MB / 0.8908 GB, free: 239.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.7, allocations: 0 / 0.8908 GB, free: 239.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.703, allocations: 0.681 MB / 0.8915 GB, free: 238.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/1.704, allocations: 0.5055 MB / 0.892 GB, free: 237.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005605/1.705, allocations: 75.44 kB / 0.892 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/1.706, allocations: 2.029 MB / 0.894 GB, free: 235.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.706, allocations: 3.938 kB / 0.894 GB, free: 235.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.719, allocations: 10.93 MB / 0.9047 GB, free: 224.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/1.72, allocations: 439.7 kB / 0.9051 GB, free: 224.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.72, allocations: 48 kB / 0.9052 GB, free: 224.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.722, allocations: 94.09 kB / 0.9053 GB, free: 224.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.722, allocations: 186 kB / 0.9054 GB, free: 224 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.722, allocations: 102.6 kB / 0.9055 GB, free: 223.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001984/1.722, allocations: 211 kB / 0.9057 GB, free: 223.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/1.722, allocations: 0 / 0.9057 GB, free: 223.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005923/1.728, allocations: 1.737 MB / 0.9074 GB, free: 222 MB / 0.6231 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.006165/1.734, allocations: 1.576 MB / 0.909 GB, free: 220.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008839/1.743, allocations: 5.792 MB / 0.9146 GB, free: 215 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.743, allocations: 4 kB / 0.9146 GB, free: 215 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004636/1.748, allocations: 3.754 MB / 0.9183 GB, free: 211.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/1.751, allocations: 0.6466 MB / 0.9189 GB, free: 210.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/1.76, allocations: 7.727 MB / 0.9265 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.762, allocations: 1.94 MB / 0.9284 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.009356/1.771, allocations: 11.73 MB / 0.9398 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/1.773, allocations: 498.9 kB / 0.9403 GB, free: 189.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.363e-06/1.773, allocations: 0 / 0.9403 GB, free: 189.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.1273/1.901, allocations: 109.6 MB / 1.047 GB, free: 79.86 MB / 0.6231 GB make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.makefile (rm -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe >> ../files/ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.sim & ./ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe 2>&1)