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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9801/0.9801, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01195/0.01195, allocations: 1.996 MB / 263 MB, free: 10.89 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 333.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.58e-05, allocations: 2.312 kB / 333.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.01746/0.01747, allocations: 23.3 MB / 356.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.03711, allocations: 20.86 MB / 377.7 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.03789, allocations: 12 kB / 377.8 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.03861, allocations: 325.3 kB / 378.1 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.05389, allocations: 6.711 MB / 384.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.05669, allocations: 1.58 MB / 386.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.05868, allocations: 3.037 MB / 389.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.05883, allocations: 80.33 kB / 389.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.0602, allocations: 1.488 MB / 391 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.06083, allocations: 0.7791 MB / 391.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.06094, allocations: 144 kB / 391.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.07185, allocations: 7.456 MB / 399.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.07244, allocations: 382.2 kB / 399.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.07408, allocations: 0.7366 MB / 400.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.08833, allocations: 6.741 MB / 407.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.08834, allocations: 0 / 407.2 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.08834, allocations: 4 kB / 407.2 MB, free: 7.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.236e-05/0.08839, allocations: 0 / 407.2 MB, free: 7.816 MB / 378.7 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.004994/0.09339, allocations: 2.704 MB / 409.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.09344, allocations: 8.031 kB / 409.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/0.1033, allocations: 3.101 MB / 413 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.1052, allocations: 1.142 MB / 414.2 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.1054, allocations: 168.5 kB / 414.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.1057, allocations: 204.4 kB / 414.5 MB, free: 404 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.1176, allocations: 7.524 MB / 422 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.1177, allocations: 4.188 kB / 422 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.1179, allocations: 91.94 kB / 422.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.1179, allocations: 52 kB / 422.2 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.133, allocations: 6.79 MB / 429 MB, free: 1.676 MB / 394.7 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.009458/0.1425, allocations: 9.283 MB / 438.3 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.156, allocations: 6.664 MB / 444.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.157, allocations: 0.6809 MB / 445.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1836/0.3406, allocations: 25.65 MB / 471.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.3406, allocations: 62.7 kB / 471.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.25e-06/0.3406, allocations: 0 / 471.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=246): time 0.03091/0.3715, allocations: 15.1 MB / 486.4 MB, free: 113.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3716, allocations: 106.2 kB / 486.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3719, allocations: 421 kB / 486.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.3721, allocations: 68.02 kB / 487 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3723, allocations: 0.6052 MB / 487.6 MB, free: 112.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000565/0.3729, allocations: 0.8571 MB / 488.5 MB, free: 112.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.3739, allocations: 0.9979 MB / 489.5 MB, free: 112 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.374, allocations: 490.3 kB / 489.9 MB, free: 111.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.3758, allocations: 2.213 MB / 492.1 MB, free: 110 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.378, allocations: 2.922 MB / 495.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/0.3818, allocations: 4.892 MB / 500 MB, free: 104 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3818, allocations: 7.938 kB / 500 MB, free: 104 MB / 410.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005819/0.3876, allocations: 5.899 MB / 0.494 GB, free: 98.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3876, allocations: 12 kB / 0.494 GB, free: 98.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3876, allocations: 12 kB / 0.494 GB, free: 98.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.3882, allocations: 264.6 kB / 0.4943 GB, free: 98.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.3898, allocations: 1.061 MB / 0.4953 GB, free: 97.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007494/0.3906, allocations: 2.573 MB / 0.4978 GB, free: 94.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.3916, allocations: 75.98 kB / 0.4979 GB, free: 94.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.3919, allocations: 375.6 kB / 0.4983 GB, free: 94.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.completeBubbleDewStates1.dewStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates2.dewStateTwoPhase.state.phase,testStatesSat.completeBubbleDewStates2.bubbleStateOnePhase.state.phase,testStatesSat.completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,testStates.state1.phase,testStates.state2.phase,testStatesSat.state1.phase,testStatesSat.state2.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.0009484/0.3929, allocations: 320.8 kB / 0.4986 GB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/0.3936, allocations: 195.3 kB / 0.4988 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.4085, allocations: 23.99 MB / 0.5222 GB, free: 69.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01167/0.4202, allocations: 21.71 MB / 0.5434 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4202, allocations: 4 kB / 0.5434 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.4202, allocations: 11.95 kB / 0.5434 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.4383, allocations: 32.47 MB / 0.5751 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4383, allocations: 0 / 0.5751 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.4399, allocations: 0.6708 MB / 0.5758 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.4403, allocations: 322.4 kB / 0.5761 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.4404, allocations: 73.19 kB / 0.5761 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005797/0.441, allocations: 2.524 MB / 0.5786 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.441, allocations: 0 / 0.5786 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.4456, allocations: 5.145 MB / 0.5836 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.4458, allocations: 316 kB / 0.5839 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.446, allocations: 48 kB / 0.584 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.4466, allocations: 71.97 kB / 0.5841 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.4469, allocations: 197.8 kB / 0.5842 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.447, allocations: 75.94 kB / 0.5843 GB, free: 5.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.4471, allocations: 213.4 kB / 0.5845 GB, free: 5.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4471, allocations: 0 / 0.5845 GB, free: 5.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003625/0.4507, allocations: 1.662 MB / 0.5861 GB, free: 3.695 MB / 410.7 MB 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: 68 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$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.region3boundary,$cse26.region3boundary,$cse27.region3boundary,$cse28.region3boundary,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.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 (276): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 37 * 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.00352/0.4542, allocations: 1.457 MB / 0.5876 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1335/0.5878, allocations: 4.413 MB / 0.5919 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5878, allocations: 3.188 kB / 0.5919 GB, free: 112.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.5898, allocations: 1.749 MB / 0.5936 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.5917, allocations: 0.7117 MB / 0.5943 GB, free: 112.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.5972, allocations: 5.773 MB / 0.5999 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5975, allocations: 0.5675 MB / 0.6005 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006888/0.6044, allocations: 11.52 MB / 0.6117 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0027/0.6071, allocations: 0.9825 MB / 0.6127 GB, free: 110.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.6071, allocations: 0 / 0.6127 GB, free: 110.1 MB / 410.7 MB Notification: Performance of Templates: time 0.2571/0.8642, allocations: 131.4 MB / 0.741 GB, free: 91.59 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.428443938028067]