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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-06,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.001031/0.001031, allocations: 102.1 kB / 15.98 MB, free: 5.891 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.001154/0.001154, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1494/0.1494, allocations: 2.76 MB / 293.5 MB, free: 3.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 354.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 50.23 MB / 404.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.2519/0.3558, allocations: 105.5 MB / 0.4984 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06013/0.416, allocations: 59.71 MB / 0.5567 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.4179, allocations: 15.94 kB / 0.5567 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.4214, allocations: 1.092 MB / 0.5577 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.037/0.4585, allocations: 12.01 MB / 0.5695 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009239/0.4678, allocations: 2.941 MB / 0.5723 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004535/0.4723, allocations: 2.95 MB / 0.5752 GB, free: 8.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.4727, allocations: 180.9 kB / 0.5754 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.4749, allocations: 1.085 MB / 0.5765 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.4763, allocations: 0.9336 MB / 0.5774 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.4766, allocations: 144 kB / 0.5775 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3166/0.7931, allocations: 11.04 MB / 0.5883 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005702/0.7938, allocations: 370.4 kB / 0.5886 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.7955, allocations: 1.028 MB / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.8079, allocations: 6.232 MB / 0.5957 GB, free: 20.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.808, allocations: 0.7812 kB / 0.5957 GB, free: 20.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.808, allocations: 0 / 0.5957 GB, free: 20.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.82e-05/0.8081, allocations: 0 / 0.5957 GB, free: 20.93 MB / 446.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.008705/0.8168, allocations: 3.209 MB / 0.5989 GB, free: 19.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8168, allocations: 9.656 kB / 0.5989 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.8315, allocations: 1.854 MB / 0.6007 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.8337, allocations: 1.095 MB / 0.6018 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.8339, allocations: 174.1 kB / 0.6019 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.8343, allocations: 200.4 kB / 0.6021 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.8573, allocations: 6.857 MB / 0.6088 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/0.8574, allocations: 5.562 kB / 0.6088 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/0.8577, allocations: 89.53 kB / 0.6089 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-05/0.8578, allocations: 51.06 kB / 0.6089 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02574/0.8835, allocations: 8.229 MB / 0.617 GB, free: 18.75 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.01379/0.8974, allocations: 15.49 MB / 0.6321 GB, free: 24.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.9149, allocations: 5.644 MB / 0.6376 GB, free: 24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.9169, allocations: 1.224 MB / 0.6388 GB, free: 23.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09748/1.014, allocations: 51.99 MB / 0.6896 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.014, allocations: 58.91 kB / 0.6896 GB, free: 7.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.16e-06/1.015, allocations: 2.844 kB / 0.6897 GB, free: 7.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=246): time 0.0502/1.065, allocations: 14.4 MB / 0.7037 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/1.065, allocations: 103.1 kB / 0.7038 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/1.065, allocations: 352.1 kB / 0.7041 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006226/1.066, allocations: 61.7 kB / 0.7042 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/1.066, allocations: 0.5405 MB / 0.7047 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.068, allocations: 0.8216 MB / 0.7055 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/1.07, allocations: 0.9687 MB / 0.7065 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.07, allocations: 318 kB / 0.7068 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.074, allocations: 2.074 MB / 0.7088 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004698/1.078, allocations: 2.64 MB / 0.7114 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008645/1.087, allocations: 4.507 MB / 0.7158 GB, free: 472 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/1.087, allocations: 8 kB / 0.7158 GB, free: 464 kB / 0.4981 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01305/1.1, allocations: 5.547 MB / 0.7212 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/1.1, allocations: 12 kB / 0.7212 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.1, allocations: 16 kB / 0.7212 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/1.102, allocations: 317.4 kB / 0.7215 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004148/1.106, allocations: 1.064 MB / 0.7226 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.108, allocations: 1.894 MB / 0.7244 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.111, allocations: 225.7 kB / 0.7246 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009361/1.112, allocations: 399.6 kB / 0.725 GB, free: 7.043 MB / 0.5137 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.001864/1.114, allocations: 432.7 kB / 0.7254 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.115, allocations: 110.8 kB / 0.7255 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05665/1.172, allocations: 46.87 MB / 0.7713 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002343/1.172, allocations: 159.7 kB / 0.7715 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.433e-05/1.172, allocations: 11.81 kB / 0.7715 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.92e-05/1.172, allocations: 11.95 kB / 0.7715 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3021/1.474, allocations: 65.71 MB / 0.8357 GB, free: 232.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/1.474, allocations: 0 / 0.8357 GB, free: 232.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003995/1.478, allocations: 0.6756 MB / 0.8363 GB, free: 232.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.479, allocations: 0.5138 MB / 0.8368 GB, free: 232.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007477/1.48, allocations: 78.67 kB / 0.8369 GB, free: 232 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/1.482, allocations: 2.024 MB / 0.8389 GB, free: 230 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.482, allocations: 0 / 0.8389 GB, free: 230 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.496, allocations: 10.92 MB / 0.8495 GB, free: 220.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/1.496, allocations: 436.6 kB / 0.85 GB, free: 219.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/1.497, allocations: 51.52 kB / 0.85 GB, free: 219.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.499, allocations: 218.6 kB / 0.8502 GB, free: 219.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/1.499, allocations: 190.3 kB / 0.8504 GB, free: 219.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.499, allocations: 94.05 kB / 0.8505 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002233/1.5, allocations: 212.8 kB / 0.8507 GB, free: 219.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.363e-06/1.5, allocations: 0 / 0.8507 GB, free: 219.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007978/1.508, allocations: 1.739 MB / 0.8524 GB, free: 217.5 MB / 0.5606 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.00861/1.516, allocations: 1.596 MB / 0.8539 GB, free: 216.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02637/1.543, allocations: 5.926 MB / 0.8597 GB, free: 211.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.543, allocations: 0.8438 kB / 0.8597 GB, free: 211.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/1.547, allocations: 3.755 MB / 0.8634 GB, free: 207.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.551, allocations: 0.648 MB / 0.864 GB, free: 207.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/1.56, allocations: 9.619 MB / 0.8734 GB, free: 198.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/1.561, allocations: 1.935 MB / 0.8753 GB, free: 197 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/1.564, allocations: 0.4953 MB / 0.8758 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.564, allocations: 0 / 0.8758 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1088/1.672, allocations: 111.6 MB / 0.9848 GB, free: 85.16 MB / 0.5606 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)