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.0008811/0.0008811, allocations: 73.97 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.0009572/0.0009572, allocations: 169.4 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 1.007/1.007, 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.008715/0.008715, allocations: 1.992 MB / 263 MB, free: 10.91 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.193e-06/1.193e-06, allocations: 0 / 333.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.655e-05, allocations: 8.641 kB / 333.6 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTranscritical): time 0.01705/0.01708, allocations: 23.3 MB / 356.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.0352, allocations: 20.86 MB / 377.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.03638, allocations: 19.94 kB / 377.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.03707, allocations: 325.4 kB / 378.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01404/0.05112, allocations: 6.711 MB / 384.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.05431, allocations: 1.576 MB / 386.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.0575, allocations: 3.029 MB / 389.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.05778, allocations: 80.28 kB / 389.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.05991, allocations: 1.492 MB / 391 MB, free: 8.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.06075, allocations: 0.783 MB / 391.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.06088, allocations: 148 kB / 391.9 MB, free: 7.141 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.07284, allocations: 7.453 MB / 399.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.07328, allocations: 386.2 kB / 399.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.07482, allocations: 0.7366 MB / 400.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.08906, allocations: 6.741 MB / 407.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.08907, allocations: 0 / 407.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08907, allocations: 0 / 407.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.08915, allocations: 0 / 407.2 MB, free: 7.805 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.005589/0.09474, allocations: 2.704 MB / 409.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.09478, allocations: 16.03 kB / 409.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.1073, allocations: 3.094 MB / 413 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.1093, allocations: 1.134 MB / 414.1 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.1094, allocations: 172.5 kB / 414.3 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.1097, allocations: 204.4 kB / 414.5 MB, free: 396 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.1247, allocations: 7.526 MB / 422 MB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.1247, allocations: 4.125 kB / 422 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.1249, allocations: 95.94 kB / 422.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.125, allocations: 48 kB / 422.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.1396, allocations: 6.786 MB / 429 MB, free: 1.668 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.009425/0.149, allocations: 9.275 MB / 438.2 MB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.1616, allocations: 6.68 MB / 444.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009909/0.1626, allocations: 0.6847 MB / 445.6 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1937/0.3563, allocations: 25.65 MB / 471.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3564, allocations: 60.2 kB / 471.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.328e-06/0.3564, allocations: 4.594 kB / 471.3 MB, free: 114.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=246): time 0.02236/0.3788, allocations: 15.11 MB / 486.4 MB, free: 113.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3788, allocations: 102.7 kB / 486.5 MB, free: 113.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.379, allocations: 414.9 kB / 486.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.3793, allocations: 68.77 kB / 487 MB, free: 113.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3795, allocations: 0.6037 MB / 487.6 MB, free: 112.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005107/0.38, allocations: 0.865 MB / 488.5 MB, free: 112.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.3812, allocations: 1.002 MB / 489.5 MB, free: 112.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/0.3813, allocations: 491.3 kB / 490 MB, free: 111.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.3831, allocations: 2.209 MB / 492.2 MB, free: 110.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.3852, allocations: 2.915 MB / 495.1 MB, free: 107.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.3891, allocations: 4.885 MB / 500 MB, free: 104.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.3891, allocations: 7.938 kB / 500 MB, free: 104.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.006058/0.3952, allocations: 5.902 MB / 0.494 GB, free: 98.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3952, allocations: 15.78 kB / 0.494 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3952, allocations: 12 kB / 0.494 GB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.3958, allocations: 264.1 kB / 0.4943 GB, free: 98.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3974, allocations: 1.062 MB / 0.4953 GB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006944/0.3981, allocations: 2.568 MB / 0.4978 GB, free: 95.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/0.399, allocations: 75.98 kB / 0.4979 GB, free: 94.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.3993, allocations: 379.7 kB / 0.4983 GB, free: 94.57 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.0007527/0.4001, allocations: 311.8 kB / 0.4986 GB, free: 94.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006669/0.4008, allocations: 199.3 kB / 0.4988 GB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.4164, allocations: 23.99 MB / 0.5222 GB, free: 70.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01216/0.4286, allocations: 21.71 MB / 0.5434 GB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4286, allocations: 0 / 0.5434 GB, free: 48.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.4286, allocations: 18.78 kB / 0.5434 GB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.4475, allocations: 32.48 MB / 0.5751 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4475, allocations: 0 / 0.5751 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.4491, allocations: 0.6635 MB / 0.5758 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003766/0.4494, allocations: 322.9 kB / 0.5761 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.4497, allocations: 73.12 kB / 0.5761 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008059/0.4505, allocations: 2.523 MB / 0.5786 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4505, allocations: 3.094 kB / 0.5786 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.456, allocations: 5.146 MB / 0.5836 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.4563, allocations: 319.5 kB / 0.5839 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.4565, allocations: 44 kB / 0.584 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.4571, allocations: 71.97 kB / 0.5841 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.4574, allocations: 200.7 kB / 0.5842 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.4575, allocations: 71.95 kB / 0.5843 GB, free: 5.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.4576, allocations: 225 kB / 0.5845 GB, free: 5.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4576, allocations: 0 / 0.5845 GB, free: 5.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003596/0.4612, allocations: 1.662 MB / 0.5862 GB, free: 3.887 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.004034/0.4652, allocations: 1.451 MB / 0.5876 GB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1362/0.6014, allocations: 4.402 MB / 0.5919 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.6014, allocations: 3.844 kB / 0.5919 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.6036, allocations: 1.761 MB / 0.5936 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.6056, allocations: 0.717 MB / 0.5943 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.6118, allocations: 5.767 MB / 0.5999 GB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6122, allocations: 0.5717 MB / 0.6005 GB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008467/0.6207, allocations: 11.5 MB / 0.6117 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/0.6237, allocations: 0.9889 MB / 0.6127 GB, free: 110.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.896e-06/0.6237, allocations: 3.25 kB / 0.6127 GB, free: 110.4 MB / 410.7 MB Notification: Performance of Templates: time 0.2367/0.8604, allocations: 131.4 MB / 0.741 GB, free: 91.3 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: 12.70407023280859]