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.00123/0.00123, allocations: 99.5 kB / 16.27 MB, free: 6.414 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.001132/0.001132, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01355/0.01355, allocations: 2.77 MB / 293.8 MB, free: 12.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2101, allocations: 50.23 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.08888/0.299, allocations: 106.3 MB / 0.4996 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2628/0.5618, allocations: 59.84 MB / 0.5581 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.5638, allocations: 14.28 kB / 0.5581 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.5672, allocations: 1.185 MB / 0.5593 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03593/0.6033, allocations: 13.21 MB / 0.5722 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009033/0.6124, allocations: 3.173 MB / 0.5753 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004463/0.6169, allocations: 2.959 MB / 0.5781 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.6172, allocations: 174.4 kB / 0.5783 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.6193, allocations: 1.077 MB / 0.5794 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.6205, allocations: 0.9296 MB / 0.5803 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.6207, allocations: 144 kB / 0.5804 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02867/0.6493, allocations: 10.95 MB / 0.5911 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.6499, allocations: 373.7 kB / 0.5915 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.6516, allocations: 1.029 MB / 0.5925 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02567/0.6773, allocations: 8.646 MB / 0.6009 GB, free: 3.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.6774, allocations: 0 / 0.6009 GB, free: 3.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6774, allocations: 0 / 0.6009 GB, free: 3.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.6774, allocations: 0 / 0.6009 GB, free: 3.883 MB / 414.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.007497/0.6849, allocations: 3.206 MB / 0.604 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.685, allocations: 12.03 kB / 0.604 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.6999, allocations: 1.86 MB / 0.6059 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.7027, allocations: 1.095 MB / 0.6069 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.7029, allocations: 168.5 kB / 0.6071 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.7033, allocations: 200.5 kB / 0.6073 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/0.7241, allocations: 6.869 MB / 0.614 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.7242, allocations: 0 / 0.614 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.7244, allocations: 88 kB / 0.6141 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.7245, allocations: 55.98 kB / 0.6141 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.7471, allocations: 8.226 MB / 0.6222 GB, free: 13.84 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.01392/0.761, allocations: 15.6 MB / 0.6374 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/0.7785, allocations: 5.646 MB / 0.6429 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.7806, allocations: 1.225 MB / 0.6441 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3024/1.083, allocations: 51.99 MB / 0.6949 GB, free: 187.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.083, allocations: 58.47 kB / 0.6949 GB, free: 187.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 3.948e-06/1.083, allocations: 1.688 kB / 0.6949 GB, free: 187.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.04375/1.127, allocations: 14.39 MB / 0.709 GB, free: 186 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.127, allocations: 102.7 kB / 0.7091 GB, free: 185.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/1.127, allocations: 348.2 kB / 0.7094 GB, free: 185.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003526/1.128, allocations: 65.64 kB / 0.7095 GB, free: 185.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/1.128, allocations: 0.5436 MB / 0.71 GB, free: 185.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007027/1.129, allocations: 0.8228 MB / 0.7108 GB, free: 184.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/1.13, allocations: 0.9783 MB / 0.7118 GB, free: 184.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/1.13, allocations: 309.7 kB / 0.7121 GB, free: 183.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/1.134, allocations: 2.082 MB / 0.7141 GB, free: 183 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/1.138, allocations: 2.634 MB / 0.7167 GB, free: 181.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007428/1.145, allocations: 4.509 MB / 0.7211 GB, free: 178.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.145, allocations: 4.188 kB / 0.7211 GB, free: 178.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01068/1.156, allocations: 5.551 MB / 0.7265 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.156, allocations: 12 kB / 0.7265 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.156, allocations: 16 kB / 0.7265 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.157, allocations: 314.2 kB / 0.7268 GB, free: 176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/1.16, allocations: 1.066 MB / 0.7279 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/1.162, allocations: 1.887 MB / 0.7297 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.164, allocations: 101.5 kB / 0.7298 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005354/1.164, allocations: 402.5 kB / 0.7302 GB, free: 173 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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.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 (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.001237/1.166, allocations: 435.9 kB / 0.7306 GB, free: 172.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/1.167, allocations: 112.5 kB / 0.7307 GB, free: 172.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03171/1.198, allocations: 46.85 MB / 0.7765 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-05/1.198, allocations: 167.7 kB / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.198, allocations: 0 / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.198, allocations: 11.95 kB / 0.7766 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/1.241, allocations: 65.72 MB / 0.8408 GB, free: 59.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.241, allocations: 0 / 0.8408 GB, free: 59.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/1.244, allocations: 0.6793 MB / 0.8415 GB, free: 59.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/1.245, allocations: 0.5081 MB / 0.842 GB, free: 58.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/1.245, allocations: 79.88 kB / 0.8421 GB, free: 58.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/1.247, allocations: 2.026 MB / 0.844 GB, free: 56.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.247, allocations: 0 / 0.844 GB, free: 56.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.26, allocations: 10.92 MB / 0.8547 GB, free: 45.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/1.26, allocations: 439.6 kB / 0.8551 GB, free: 44.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.261, allocations: 48.5 kB / 0.8552 GB, free: 44.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.262, allocations: 95.88 kB / 0.8553 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004131/1.263, allocations: 193.8 kB / 0.8555 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.263, allocations: 106.6 kB / 0.8556 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001908/1.263, allocations: 207.1 kB / 0.8557 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.263, allocations: 0 / 0.8557 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004873/1.268, allocations: 1.737 MB / 0.8574 GB, free: 42.68 MB / 0.4981 GB 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 (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.004822/1.273, allocations: 1.576 MB / 0.859 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0267/1.3, allocations: 5.923 MB / 0.8648 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.3, allocations: 0.6875 kB / 0.8648 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/1.304, allocations: 3.756 MB / 0.8684 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/1.307, allocations: 0.6496 MB / 0.8691 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/1.473, allocations: 7.88 MB / 0.8768 GB, free: 209.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.474, allocations: 1.937 MB / 0.8787 GB, free: 208.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/1.476, allocations: 0.4951 MB / 0.8791 GB, free: 208.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/1.476, allocations: 0 / 0.8791 GB, free: 208.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.09399/1.57, allocations: 111.6 MB / 0.9882 GB, free: 109.4 MB / 0.4981 GB make -j1 -f ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.makefile (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)