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.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.0009925/0.0009925, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009498/0.0009498, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9872/0.9872, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.007495/0.007495, allocations: 2.003 MB / 262.2 MB, free: 10.93 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.TestRunnerTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 332.8 MB, free: 16.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.198e-05, allocations: 2.312 kB / 332.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.01817/0.01818, allocations: 23.29 MB / 356.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02293/0.04111, allocations: 20.87 MB / 377 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.0417, allocations: 15.94 kB / 377 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.04238, allocations: 325.4 kB / 377.3 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.0571, allocations: 6.699 MB / 384 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.06108, allocations: 1.588 MB / 385.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.06402, allocations: 3.028 MB / 388.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.06417, allocations: 80.33 kB / 388.7 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.0658, allocations: 1.488 MB / 390.2 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.06642, allocations: 0.7908 MB / 391 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.06653, allocations: 148 kB / 391.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.07923, allocations: 7.445 MB / 398.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.07949, allocations: 386.2 kB / 398.9 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.0801, allocations: 0.7327 MB / 399.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.09117, allocations: 6.745 MB / 406.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.09118, allocations: 7.984 kB / 406.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09119, allocations: 0 / 406.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.0912, allocations: 0 / 406.4 MB, free: 6.773 MB / 330.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.004052/0.09525, allocations: 2.688 MB / 409.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.0953, allocations: 15.97 kB / 409.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00888/0.1042, allocations: 3.097 MB / 412.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1505/0.2547, allocations: 1.14 MB / 413.4 MB, free: 44.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.2549, allocations: 175 kB / 413.5 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.2554, allocations: 204.9 kB / 413.7 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.2668, allocations: 7.52 MB / 421.2 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.2669, allocations: 9.5 kB / 421.3 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.267, allocations: 84.88 kB / 421.3 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.2671, allocations: 54.16 kB / 421.4 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.2772, allocations: 6.781 MB / 428.2 MB, free: 43.39 MB / 330.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.007261/0.2845, allocations: 9.281 MB / 437.4 MB, free: 38.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009571/0.294, allocations: 6.686 MB / 444.1 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008824/0.2949, allocations: 0.6743 MB / 444.8 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05309/0.348, allocations: 25.93 MB / 470.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.3481, allocations: 71.08 kB / 470.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 5.631e-06/0.3481, allocations: 4 kB / 470.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=246): time 0.024/0.3721, allocations: 15.13 MB / 486 MB, free: 14.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.3721, allocations: 111.1 kB / 486.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3725, allocations: 414.1 kB / 486.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.3727, allocations: 61.7 kB / 486.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.373, allocations: 0.6081 MB / 487.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006197/0.3736, allocations: 0.8608 MB / 488 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.3747, allocations: 0.9993 MB / 489 MB, free: 11.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3748, allocations: 0.4886 MB / 489.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.3767, allocations: 2.208 MB / 491.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.379, allocations: 2.912 MB / 494.6 MB, free: 5.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004232/0.3832, allocations: 4.895 MB / 499.5 MB, free: 448 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.3832, allocations: 4 kB / 499.5 MB, free: 444 kB / 346.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.006687/0.3899, allocations: 5.929 MB / 0.4936 GB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.39, allocations: 12 kB / 0.4936 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.39, allocations: 12.88 kB / 0.4936 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.3906, allocations: 267.7 kB / 0.4939 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.3923, allocations: 1.049 MB / 0.4949 GB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.3936, allocations: 2.58 MB / 0.4974 GB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3947, allocations: 81.95 kB / 0.4975 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/0.395, allocations: 375.6 kB / 0.4978 GB, free: 6.23 MB / 362.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.0009648/0.396, allocations: 319.1 kB / 0.4981 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006689/0.3967, allocations: 191.3 kB / 0.4983 GB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/0.417, allocations: 24.01 MB / 0.5218 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01727/0.4343, allocations: 21.73 MB / 0.543 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4343, allocations: 3.984 kB / 0.543 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/0.4344, allocations: 11.95 kB / 0.543 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/0.6495, allocations: 32.51 MB / 0.5748 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.6495, allocations: 2.5 kB / 0.5748 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.6513, allocations: 0.668 MB / 0.5754 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005783/0.6518, allocations: 366.2 kB / 0.5758 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003141/0.6522, allocations: 71.7 kB / 0.5758 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.6535, allocations: 3.513 MB / 0.5793 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6535, allocations: 0 / 0.5793 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.6591, allocations: 5.184 MB / 0.5843 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.6596, allocations: 316.5 kB / 0.5846 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.6597, allocations: 44.25 kB / 0.5847 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.6604, allocations: 71.3 kB / 0.5847 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.6606, allocations: 200.4 kB / 0.5849 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6607, allocations: 72.25 kB / 0.585 GB, free: 110.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.6609, allocations: 224.8 kB / 0.5852 GB, free: 110.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6609, allocations: 0 / 0.5852 GB, free: 110.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004479/0.6654, allocations: 1.657 MB / 0.5868 GB, free: 109.2 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004396/0.6698, allocations: 1.457 MB / 0.5882 GB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005735/0.6755, allocations: 4.405 MB / 0.5925 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.6755, allocations: 0 / 0.5925 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.6776, allocations: 1.912 MB / 0.5944 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.6796, allocations: 0.7272 MB / 0.5951 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.6857, allocations: 5.762 MB / 0.6008 GB, free: 98.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.6861, allocations: 0.5708 MB / 0.6013 GB, free: 97.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007346/0.6935, allocations: 11.52 MB / 0.6126 GB, free: 90.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/0.696, allocations: 0.9822 MB / 0.6135 GB, free: 89.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.696, allocations: 0 / 0.6135 GB, free: 89.42 MB / 410.7 MB Notification: Performance of Templates: time 0.2585/0.9545, allocations: 129.7 MB / 0.7402 GB, free: 107.1 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTranscritical.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.687912937719375]