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.001431/0.001431, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001915/0.001915, allocations: 177.3 kB / 15.95 MB, free: 216 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.524/1.524, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2301/0.2301, allocations: 2.775 MB / 293.8 MB, free: 4.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 12 kB / 355.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 51.26 MB / 406.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.3692/0.5178, allocations: 87.86 MB / 494.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06429/0.5822, allocations: 49.29 MB / 0.5312 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.585, allocations: 12 kB / 0.5312 GB, free: 7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.5889, allocations: 1.054 MB / 0.5322 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.048/0.6369, allocations: 11.32 MB / 0.5433 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.6497, allocations: 2.703 MB / 0.5459 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006327/0.6561, allocations: 2.008 MB / 0.5479 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/0.6566, allocations: 178.8 kB / 0.548 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.66, allocations: 0.9966 MB / 0.549 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.6627, allocations: 0.8094 MB / 0.5498 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.663, allocations: 52 kB / 0.5498 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03802/0.701, allocations: 11.57 MB / 0.5611 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.7017, allocations: 266.8 kB / 0.5614 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.7031, allocations: 424.9 kB / 0.5618 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.7231, allocations: 6.056 MB / 0.5677 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7232, allocations: 0 / 0.5677 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.671e-06/0.7232, allocations: 0 / 0.5677 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.7233, allocations: 0 / 0.5677 GB, free: 1.52 MB / 430.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.0101/0.7334, allocations: 2.821 MB / 0.5705 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7334, allocations: 8.031 kB / 0.5705 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.7483, allocations: 1.875 MB / 0.5723 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.751, allocations: 1.094 MB / 0.5734 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.7512, allocations: 172.1 kB / 0.5735 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004182/0.7516, allocations: 204 kB / 0.5737 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.7729, allocations: 6.858 MB / 0.5804 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.773, allocations: 7.938 kB / 0.5804 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.7733, allocations: 94.92 kB / 0.5805 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.7734, allocations: 52 kB / 0.5806 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3422/1.116, allocations: 8.281 MB / 0.5887 GB, free: 129.7 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.01877/1.134, allocations: 15.55 MB / 0.6039 GB, free: 117.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.15, allocations: 5.703 MB / 0.6094 GB, free: 115.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.105/1.255, allocations: 52.44 MB / 0.6606 GB, free: 81.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.255, allocations: 56 kB / 0.6607 GB, free: 81.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 5.621e-06/1.255, allocations: 7.938 kB / 0.6607 GB, free: 81.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=246): time 0.04413/1.299, allocations: 14.79 MB / 0.6751 GB, free: 69.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/1.299, allocations: 107 kB / 0.6752 GB, free: 69.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/1.3, allocations: 344.1 kB / 0.6756 GB, free: 69.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003711/1.3, allocations: 69.7 kB / 0.6756 GB, free: 69.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/1.301, allocations: 0.5401 MB / 0.6762 GB, free: 68.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/1.302, allocations: 0.8203 MB / 0.677 GB, free: 68.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/1.302, allocations: 52 kB / 0.677 GB, free: 68.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/1.302, allocations: 408.4 kB / 0.6774 GB, free: 67.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/1.306, allocations: 2.09 MB / 0.6794 GB, free: 65.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00336/1.309, allocations: 2.636 MB / 0.682 GB, free: 62.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.312, allocations: 2.079 MB / 0.684 GB, free: 60.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.312, allocations: 8 kB / 0.6841 GB, free: 60.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009621/1.322, allocations: 5.618 MB / 0.6895 GB, free: 54.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.322, allocations: 15.98 kB / 0.6896 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.322, allocations: 20.16 kB / 0.6896 GB, free: 54.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.323, allocations: 337.4 kB / 0.6899 GB, free: 54.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/1.327, allocations: 1.069 MB / 0.6909 GB, free: 53.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/1.328, allocations: 1.919 MB / 0.6928 GB, free: 51.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/1.331, allocations: 239.5 kB / 0.693 GB, free: 51.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006457/1.332, allocations: 406.4 kB / 0.6934 GB, free: 50.88 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.001358/1.333, allocations: 433.2 kB / 0.6938 GB, free: 50.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/1.334, allocations: 114.8 kB / 0.6939 GB, free: 50.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03826/1.372, allocations: 46.88 MB / 0.7397 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1.372, allocations: 171.7 kB / 0.7399 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.372, allocations: 3.953 kB / 0.7399 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.885e-05/1.372, allocations: 11.95 kB / 0.7399 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3036/1.676, allocations: 65.75 MB / 0.8041 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.676, allocations: 4.547 kB / 0.8041 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003503/1.679, allocations: 0.6887 MB / 0.8048 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/1.681, allocations: 0.5437 MB / 0.8053 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004362/1.681, allocations: 79.34 kB / 0.8054 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.682, allocations: 2.072 MB / 0.8074 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.683, allocations: 0.75 kB / 0.8074 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.696, allocations: 10.94 MB / 0.8181 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/1.697, allocations: 436.9 kB / 0.8185 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.697, allocations: 54.92 kB / 0.8186 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.699, allocations: 240.6 kB / 0.8188 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/1.699, allocations: 190.4 kB / 0.819 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.699, allocations: 99.17 kB / 0.8191 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002402/1.7, allocations: 202.5 kB / 0.8193 GB, free: 114 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/1.7, allocations: 0 / 0.8193 GB, free: 114 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006024/1.706, allocations: 1.748 MB / 0.821 GB, free: 113.2 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.005936/1.712, allocations: 1.593 MB / 0.8225 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/1.724, allocations: 5.813 MB / 0.8282 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.724, allocations: 4 kB / 0.8282 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005895/1.73, allocations: 3.748 MB / 0.8319 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.734, allocations: 0.5798 MB / 0.8324 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.744, allocations: 9.487 MB / 0.8417 GB, free: 94.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.745, allocations: 1.994 MB / 0.8437 GB, free: 92.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.011/1.756, allocations: 11.73 MB / 0.8551 GB, free: 84.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002198/1.759, allocations: 490.9 kB / 0.8556 GB, free: 83.85 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/1.759, allocations: 4 kB / 0.8556 GB, free: 83.85 MB / 462.1 MB Notification: Performance of Templates: time 0.3659/2.124, allocations: 105.1 MB / 0.9582 GB, free: 128.4 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: