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.0008626/0.0008626, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001041/0.001041, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1836/0.1836, allocations: 2.781 MB / 293.9 MB, free: 4.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 355.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 51.25 MB / 406.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.4177/0.5425, allocations: 98.25 MB / 0.4933 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.07385/0.6165, allocations: 55.47 MB / 0.5474 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.6191, allocations: 8 kB / 0.5474 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.6228, allocations: 1.01 MB / 0.5484 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04872/0.6715, allocations: 10.64 MB / 0.5588 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.682, allocations: 2.557 MB / 0.5613 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006363/0.6883, allocations: 2.821 MB / 0.5641 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008405/0.6892, allocations: 181.1 kB / 0.5642 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.6931, allocations: 0.9257 MB / 0.5651 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.6959, allocations: 0.8594 MB / 0.566 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.6962, allocations: 52 kB / 0.566 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03518/0.7314, allocations: 10.45 MB / 0.5762 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.732, allocations: 270.5 kB / 0.5765 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.7332, allocations: 424.9 kB / 0.5769 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.7492, allocations: 6.103 MB / 0.5829 GB, free: 2.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.718e-05/0.7493, allocations: 3.984 kB / 0.5829 GB, free: 2.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.7493, allocations: 0 / 0.5829 GB, free: 2.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.036e-05/0.7494, allocations: 0 / 0.5829 GB, free: 2.363 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.3221/1.071, allocations: 2.813 MB / 0.5856 GB, free: 132.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.072, allocations: 8.5 kB / 0.5856 GB, free: 132.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/1.087, allocations: 1.879 MB / 0.5875 GB, free: 132 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/1.09, allocations: 1.087 MB / 0.5885 GB, free: 131.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/1.09, allocations: 172.2 kB / 0.5887 GB, free: 131.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/1.091, allocations: 204.4 kB / 0.5889 GB, free: 131.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02138/1.112, allocations: 6.88 MB / 0.5956 GB, free: 129.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.113, allocations: 7.219 kB / 0.5956 GB, free: 129.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006353/1.113, allocations: 87.56 kB / 0.5957 GB, free: 129.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.757e-05/1.113, allocations: 51.19 kB / 0.5957 GB, free: 129.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/1.136, allocations: 8.279 MB / 0.6038 GB, free: 127.2 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.01733/1.153, allocations: 15.5 MB / 0.619 GB, free: 113.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.169, allocations: 5.703 MB / 0.6245 GB, free: 111.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/1.172, allocations: 1.236 MB / 0.6257 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09995/1.272, allocations: 52.41 MB / 0.6769 GB, free: 69.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/1.272, allocations: 64.5 kB / 0.677 GB, free: 69.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.42e-06/1.272, allocations: 0 / 0.677 GB, free: 69.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=246): time 0.04305/1.315, allocations: 14.56 MB / 0.6912 GB, free: 54.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.315, allocations: 103.1 kB / 0.6913 GB, free: 54.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/1.316, allocations: 348.1 kB / 0.6916 GB, free: 54.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004408/1.316, allocations: 65.7 kB / 0.6917 GB, free: 54.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/1.317, allocations: 0.5447 MB / 0.6922 GB, free: 53.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009107/1.317, allocations: 0.8203 MB / 0.693 GB, free: 52.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.318, allocations: 52 kB / 0.6931 GB, free: 52.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/1.318, allocations: 403.7 kB / 0.6935 GB, free: 52.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/1.322, allocations: 2.086 MB / 0.6955 GB, free: 50.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.326, allocations: 2.644 MB / 0.6981 GB, free: 47.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/1.329, allocations: 2.091 MB / 0.7001 GB, free: 45.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.329, allocations: 4 kB / 0.7001 GB, free: 45.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01061/1.34, allocations: 5.613 MB / 0.7056 GB, free: 39.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.34, allocations: 12.94 kB / 0.7056 GB, free: 39.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.34, allocations: 19.98 kB / 0.7056 GB, free: 39.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/1.341, allocations: 338.2 kB / 0.706 GB, free: 39.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/1.345, allocations: 1.073 MB / 0.707 GB, free: 38.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/1.346, allocations: 1.929 MB / 0.7089 GB, free: 36.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/1.349, allocations: 239.6 kB / 0.7091 GB, free: 35.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007759/1.35, allocations: 403.5 kB / 0.7095 GB, free: 35.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 17 (testBasePropertiesExplicit.medium1.baseProperties.phase,testBasePropertiesExplicit.medium2.baseProperties.phase,testBasePropertiesImplicit.medium1.baseProperties.phase,testBasePropertiesImplicit.medium2.baseProperties.phase,testBasePropertiesDynamic.medium.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 8,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001599/1.351, allocations: 422.7 kB / 0.7099 GB, free: 35.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005643/1.352, allocations: 122.6 kB / 0.71 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04885/1.401, allocations: 46.89 MB / 0.7558 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000217/1.401, allocations: 163.7 kB / 0.756 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/1.401, allocations: 0 / 0.756 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.075e-05/1.401, allocations: 12.56 kB / 0.756 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4054/1.807, allocations: 65.73 MB / 0.8202 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/1.807, allocations: 2.75 kB / 0.8202 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/1.81, allocations: 0.6902 MB / 0.8208 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/1.812, allocations: 0.543 MB / 0.8214 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008184/1.812, allocations: 74.02 kB / 0.8214 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.814, allocations: 2.067 MB / 0.8235 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.814, allocations: 0.6562 kB / 0.8235 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/1.834, allocations: 10.95 MB / 0.8341 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008139/1.835, allocations: 437.3 kB / 0.8346 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/1.835, allocations: 51.95 kB / 0.8346 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.838, allocations: 242.4 kB / 0.8348 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000644/1.838, allocations: 195.6 kB / 0.835 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004555/1.839, allocations: 89.91 kB / 0.8351 GB, free: 101.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003108/1.839, allocations: 210.2 kB / 0.8353 GB, free: 101 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.839, allocations: 0 / 0.8353 GB, free: 101 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008302/1.847, allocations: 1.743 MB / 0.837 GB, free: 99.41 MB / 462.1 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.009092/1.856, allocations: 1.601 MB / 0.8386 GB, free: 98.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01239/1.869, allocations: 5.817 MB / 0.8443 GB, free: 93.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.869, allocations: 6.625 kB / 0.8443 GB, free: 93.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006681/1.876, allocations: 3.742 MB / 0.8479 GB, free: 89.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004865/1.881, allocations: 0.6244 MB / 0.8485 GB, free: 89.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.896, allocations: 9.509 MB / 0.8578 GB, free: 80.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/1.898, allocations: 1.928 MB / 0.8597 GB, free: 79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01244/1.911, allocations: 11.74 MB / 0.8712 GB, free: 69.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/1.913, allocations: 494.9 kB / 0.8716 GB, free: 68.56 MB / 462.1 MB Notification: Performance of SimCode: time 2.234e-06/1.913, allocations: 4 kB / 0.8716 GB, free: 68.56 MB / 462.1 MB Notification: Performance of Templates: time 0.3997/2.313, allocations: 105.2 MB / 0.9744 GB, free: 120.3 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: