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.0009587/0.0009587, 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.001261/0.001261, 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.518/1.518, allocations: 223.3 MB / 240 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.1449/0.1449, allocations: 2.778 MB / 293.9 MB, free: 4.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 11.98 kB / 355.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 51.25 MB / 406.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.3119/0.4355, allocations: 76.48 MB / 483.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04943/0.485, allocations: 47.23 MB / 0.5181 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.4871, allocations: 5.25 kB / 0.5181 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.4913, allocations: 1.126 MB / 0.5192 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02915/0.5205, allocations: 6.204 MB / 0.5253 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007692/0.5282, allocations: 1.479 MB / 0.5268 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.5318, allocations: 1.662 MB / 0.5284 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.5321, allocations: 128.5 kB / 0.5285 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006243/0.5384, allocations: 0.5327 MB / 0.529 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.5404, allocations: 0.5886 MB / 0.5296 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/0.5405, allocations: 27.66 kB / 0.5296 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.5635, allocations: 3.352 MB / 0.5329 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006285/0.5642, allocations: 166.9 kB / 0.533 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.5656, allocations: 325 kB / 0.5334 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.5724, allocations: 2.318 MB / 0.5356 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.5724, allocations: 0 / 0.5356 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5724, allocations: 0 / 0.5356 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.5725, allocations: 0 / 0.5356 GB, free: 3.785 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.003286/0.5758, allocations: 1.784 MB / 0.5374 GB, free: 1.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5758, allocations: 11.97 kB / 0.5374 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.5807, allocations: 1.317 MB / 0.5387 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.5816, allocations: 476.9 kB / 0.5391 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/0.5817, allocations: 82.12 kB / 0.5392 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.5818, allocations: 104 kB / 0.5393 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.5845, allocations: 1.853 MB / 0.5411 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5845, allocations: 0 / 0.5411 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.5846, allocations: 44 kB / 0.5411 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-05/0.5847, allocations: 91.91 kB / 0.5412 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5871, allocations: 1.741 MB / 0.5429 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007173/0.5942, allocations: 8.532 MB / 0.5513 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5958, allocations: 1.002 MB / 0.5522 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/0.5967, allocations: 0.8181 MB / 0.553 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003386/0.6001, allocations: 3.552 MB / 0.5565 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.6001, allocations: 46.48 kB / 0.5566 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=253): time 2.544e-06/0.6002, allocations: 0 / 0.5566 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=253): time 0.003107/0.6033, allocations: 1.733 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6034, allocations: 243.7 kB / 0.5585 GB, free: 10.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.6036, allocations: 178.5 kB / 0.5587 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.6037, allocations: 37.64 kB / 0.5587 GB, free: 10.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.6039, allocations: 421.4 kB / 0.5591 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.6044, allocations: 0.7847 MB / 0.5599 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.6045, allocations: 12 kB / 0.5599 GB, free: 9.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6047, allocations: 383.1 kB / 0.5602 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.6052, allocations: 386.5 kB / 0.5606 GB, free: 8.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.6059, allocations: 0.6321 MB / 0.5612 GB, free: 7.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.6067, allocations: 0.516 MB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6067, allocations: 8 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.001756/0.6085, allocations: 1.181 MB / 0.5629 GB, free: 6.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6085, allocations: 8 kB / 0.5629 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.6085, allocations: 8 kB / 0.5629 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.6086, allocations: 8.719 kB / 0.5629 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.6088, allocations: 87.84 kB / 0.563 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.6089, allocations: 11.98 kB / 0.563 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.6097, allocations: 171 kB / 0.5632 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.6098, allocations: 31.98 kB / 0.5632 GB, free: 5.707 MB / 430.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 (completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state2.phase,state1.phase,baseProperties2.state.phase,baseProperties2.phaseOutput,baseProperties1.state.phase,baseProperties1.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005183/0.6103, allocations: 260.2 kB / 0.5634 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.6105, allocations: 70.97 kB / 0.5635 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.6145, allocations: 3.229 MB / 0.5667 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001986/0.6165, allocations: 1.751 MB / 0.5684 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.6166, allocations: 4 kB / 0.5684 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.6166, allocations: 11.95 kB / 0.5684 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.6237, allocations: 5.105 MB / 0.5734 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6237, allocations: 4 kB / 0.5734 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.6246, allocations: 287.6 kB / 0.5737 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.6246, allocations: 16 kB / 0.5737 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.6247, allocations: 36 kB / 0.5737 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/0.6247, allocations: 8 kB / 0.5737 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.6247, allocations: 4 kB / 0.5737 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.6279, allocations: 2.885 MB / 0.5765 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.6285, allocations: 270.3 kB / 0.5768 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.6286, allocations: 32 kB / 0.5768 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.6295, allocations: 178.9 kB / 0.577 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.6297, allocations: 125 kB / 0.5771 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.6298, allocations: 47.98 kB / 0.5772 GB, free: 7.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.6299, allocations: 119.2 kB / 0.5773 GB, free: 7.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6299, allocations: 480 / 0.5773 GB, free: 7.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001845/0.6318, allocations: 0.5066 MB / 0.5778 GB, free: 6.637 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009905/0.6328, allocations: 0.4966 MB / 0.5783 GB, free: 6.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003541/0.6363, allocations: 2.442 MB / 0.5806 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6363, allocations: 4 kB / 0.5806 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.6379, allocations: 1.231 MB / 0.5818 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005164/0.6431, allocations: 1.037 MB / 0.5829 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2339/0.877, allocations: 4.38 MB / 0.5871 GB, free: 133.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.8781, allocations: 1.464 MB / 0.5886 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.8793, allocations: 272 kB / 0.5888 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.8795, allocations: 104.5 kB / 0.5889 GB, free: 132.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8795, allocations: 0 / 0.5889 GB, free: 132.6 MB / 446.1 MB Notification: Performance of Templates: time 0.06169/0.9412, allocations: 34.3 MB / 0.6224 GB, free: 125.8 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestStatesSat.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: