Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.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.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") translateModel(ExternalMedia.Test.TestMedium.TestStatesSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001591/0.001592, allocations: 195.4 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01152/0.01152, allocations: 2.786 MB / 293.5 MB, free: 12.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 354.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2372, allocations: 50.23 MB / 404.8 MB, free: 33.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.06434/0.3016, allocations: 82.63 MB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2997/0.6014, allocations: 51.03 MB / 0.5258 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.6036, allocations: 8.781 kB / 0.5258 GB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.6074, allocations: 1.182 MB / 0.527 GB, free: 392 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02425/0.6316, allocations: 6.574 MB / 0.5334 GB, free: 184 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.6371, allocations: 1.572 MB / 0.5349 GB, free: 120 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.6403, allocations: 1.756 MB / 0.5366 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.6406, allocations: 131.8 kB / 0.5368 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00604/0.6467, allocations: 0.5765 MB / 0.5373 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6484, allocations: 0.6128 MB / 0.5379 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.6485, allocations: 48.59 kB / 0.538 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.6683, allocations: 3.395 MB / 0.5413 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004559/0.6688, allocations: 197.6 kB / 0.5415 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.6704, allocations: 0.7209 MB / 0.5422 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.6765, allocations: 2.359 MB / 0.5445 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.6765, allocations: 2.469 kB / 0.5445 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6766, allocations: 0 / 0.5445 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6766, allocations: 0 / 0.5445 GB, free: 14.49 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003438/0.68, allocations: 1.988 MB / 0.5464 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.6801, allocations: 13.88 kB / 0.5464 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005192/0.6853, allocations: 1.303 MB / 0.5477 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.6863, allocations: 466.3 kB / 0.5482 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.6864, allocations: 82.25 kB / 0.5482 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6865, allocations: 102.6 kB / 0.5483 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.6894, allocations: 1.857 MB / 0.5502 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.6894, allocations: 3.984 kB / 0.5502 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.6895, allocations: 47.44 kB / 0.5502 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.822e-05/0.6896, allocations: 92.64 kB / 0.5503 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.6922, allocations: 1.727 MB / 0.552 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008141/0.7004, allocations: 8.529 MB / 0.5603 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.7021, allocations: 1.002 MB / 0.5613 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009429/0.7031, allocations: 0.8134 MB / 0.5621 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00369/0.7068, allocations: 3.562 MB / 0.5656 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7069, allocations: 45.92 kB / 0.5656 GB, free: 1.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=253): time 2.926e-06/0.7069, allocations: 4 kB / 0.5656 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=253): time 0.003215/0.7101, allocations: 1.74 MB / 0.5673 GB, free: 320 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.7102, allocations: 239.6 kB / 0.5675 GB, free: 24 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.7105, allocations: 190.6 kB / 0.5677 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.7105, allocations: 33.14 kB / 0.5677 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.7108, allocations: 426.7 kB / 0.5682 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/0.7114, allocations: 0.7831 MB / 0.5689 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.7117, allocations: 196.9 kB / 0.5691 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.7118, allocations: 307 kB / 0.5694 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.7123, allocations: 377.5 kB / 0.5698 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.7131, allocations: 0.6316 MB / 0.5704 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.7145, allocations: 1.192 MB / 0.5715 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7145, allocations: 4 kB / 0.5715 GB, free: 12.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.001924/0.7164, allocations: 1.19 MB / 0.5727 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.7165, allocations: 8 kB / 0.5727 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.7165, allocations: 8 kB / 0.5727 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.7165, allocations: 8 kB / 0.5727 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.7168, allocations: 75.84 kB / 0.5728 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.7169, allocations: 20.58 kB / 0.5728 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009185/0.7178, allocations: 178 kB / 0.573 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.7179, allocations: 35.98 kB / 0.573 GB, free: 11.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 16 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,state2.phase,state1.phase,baseProperties2.phaseOutput,baseProperties2.state.phase,baseProperties1.phaseOutput,baseProperties1.state.phase,baseProperties2.phaseInput,baseProperties1.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005454/0.7184, allocations: 260.3 kB / 0.5733 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.7187, allocations: 70.97 kB / 0.5733 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.7226, allocations: 3.249 MB / 0.5765 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002032/0.7247, allocations: 1.758 MB / 0.5782 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.7247, allocations: 0 / 0.5782 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/0.7247, allocations: 19.89 kB / 0.5782 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006648/0.7314, allocations: 5.121 MB / 0.5833 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.7314, allocations: 0 / 0.5833 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.7322, allocations: 287.6 kB / 0.5835 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.7323, allocations: 8 kB / 0.5835 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.7323, allocations: 39.94 kB / 0.5836 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7323, allocations: 11.94 kB / 0.5836 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7323, allocations: 0 / 0.5836 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.7355, allocations: 2.918 MB / 0.5864 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.736, allocations: 274.3 kB / 0.5867 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.7361, allocations: 36 kB / 0.5867 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009994/0.7371, allocations: 174.8 kB / 0.5869 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7373, allocations: 113.2 kB / 0.587 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.7374, allocations: 52 kB / 0.5871 GB, free: 12.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.7375, allocations: 111.2 kB / 0.5872 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7375, allocations: 0 / 0.5872 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001714/0.7392, allocations: 0.5143 MB / 0.5877 GB, free: 12.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 (baseProperties1.state.phase,baseProperties1.phaseOutput,baseProperties2.state.phase,baseProperties2.phaseOutput,state1.phase,$cse11.phase,state2.phase,$cse10.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse8.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008959/0.7401, allocations: 0.4994 MB / 0.5881 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005345/0.7455, allocations: 2.536 MB / 0.5906 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7455, allocations: 0 / 0.5906 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.747, allocations: 1.237 MB / 0.5918 GB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/0.7525, allocations: 1.059 MB / 0.5929 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/0.759, allocations: 4.569 MB / 0.5973 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.7603, allocations: 1.469 MB / 0.5988 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.7605, allocations: 111.4 kB / 0.5989 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7606, allocations: 0 / 0.5989 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of Templates: time 0.03371/0.7943, allocations: 19.89 MB / 0.6183 GB, free: 13.18 MB / 462.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.pipe 2>&1)