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.001206/0.001206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001274/0.001274, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.132/0.132, allocations: 2.764 MB / 292.8 MB, free: 3.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 353.9 MB, free: 4.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09327, allocations: 50.23 MB / 404.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestStatesSat): time 0.2201/0.3134, allocations: 82.62 MB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0491/0.3626, allocations: 51.05 MB / 0.5252 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.3646, allocations: 4.125 kB / 0.5252 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.3683, allocations: 1.179 MB / 0.5263 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02292/0.3913, allocations: 6.58 MB / 0.5328 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.3967, allocations: 1.573 MB / 0.5343 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.3995, allocations: 1.734 MB / 0.536 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.3998, allocations: 125.8 kB / 0.5361 GB, free: 336 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/0.4053, allocations: 0.5787 MB / 0.5367 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.4067, allocations: 0.6102 MB / 0.5373 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.4068, allocations: 51.98 kB / 0.5373 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02291/0.4297, allocations: 3.395 MB / 0.5407 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.4302, allocations: 190.8 kB / 0.5408 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.4319, allocations: 0.7188 MB / 0.5415 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.4504, allocations: 3.3 MB / 0.5448 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4505, allocations: 0 / 0.5448 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4505, allocations: 0 / 0.5448 GB, free: 7.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.4505, allocations: 4 kB / 0.5448 GB, free: 7.496 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003505/0.454, allocations: 1.987 MB / 0.5467 GB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4541, allocations: 8.031 kB / 0.5467 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007502/0.4616, allocations: 1.306 MB / 0.548 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.4626, allocations: 467.2 kB / 0.5484 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4627, allocations: 86.5 kB / 0.5485 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4629, allocations: 104.4 kB / 0.5486 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.4667, allocations: 1.857 MB / 0.5504 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.4667, allocations: 3.938 kB / 0.5504 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.4668, allocations: 48 kB / 0.5505 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.467, allocations: 83.92 kB / 0.5506 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.4704, allocations: 1.725 MB / 0.5522 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009222/0.4796, allocations: 8.545 MB / 0.5606 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.4817, allocations: 1.003 MB / 0.5616 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4831, allocations: 0.8174 MB / 0.5624 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00472/0.4879, allocations: 3.548 MB / 0.5658 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.488, allocations: 46.5 kB / 0.5659 GB, free: 244 kB / 430.1 MB Notification: Performance of pre-optimization done (n=253): time 4.739e-06/0.488, allocations: 0 / 0.5659 GB, free: 244 kB / 430.1 MB Notification: Performance of matching and sorting (n=253): time 0.004551/0.4925, allocations: 1.748 MB / 0.5676 GB, free: 14.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.4927, allocations: 243.3 kB / 0.5678 GB, free: 14.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.493, allocations: 182.4 kB / 0.568 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.493, allocations: 29.7 kB / 0.568 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.4934, allocations: 429.3 kB / 0.5684 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007657/0.4942, allocations: 0.7849 MB / 0.5692 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003313/0.4945, allocations: 202.2 kB / 0.5694 GB, free: 12.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4946, allocations: 306 kB / 0.5697 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/0.4954, allocations: 378.5 kB / 0.57 GB, free: 11.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4965, allocations: 0.6321 MB / 0.5707 GB, free: 11.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.4986, allocations: 1.188 MB / 0.5718 GB, free: 9.867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.4986, allocations: 4 kB / 0.5718 GB, free: 9.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.00252/0.5011, allocations: 1.197 MB / 0.573 GB, free: 8.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5011, allocations: 8.156 kB / 0.573 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5012, allocations: 8 kB / 0.573 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.5012, allocations: 8 kB / 0.573 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.5016, allocations: 79.89 kB / 0.5731 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.5016, allocations: 11.94 kB / 0.5731 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5027, allocations: 178.1 kB / 0.5733 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.5028, allocations: 28 kB / 0.5733 GB, free: 8.348 MB / 446.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.0005542/0.5033, allocations: 260.3 kB / 0.5735 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.5037, allocations: 66.97 kB / 0.5736 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/0.5088, allocations: 3.249 MB / 0.5768 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002788/0.5116, allocations: 1.766 MB / 0.5785 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.5117, allocations: 4 kB / 0.5785 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.5117, allocations: 19.89 kB / 0.5785 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2018/0.7135, allocations: 5.107 MB / 0.5835 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.7136, allocations: 0 / 0.5835 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.7144, allocations: 287.4 kB / 0.5838 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.7144, allocations: 10.19 kB / 0.5838 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.7144, allocations: 36.25 kB / 0.5838 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.7144, allocations: 13.75 kB / 0.5838 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7145, allocations: 3.656 kB / 0.5838 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.717, allocations: 2.904 MB / 0.5867 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.7173, allocations: 272.9 kB / 0.5869 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.7174, allocations: 38.19 kB / 0.587 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.7183, allocations: 182.3 kB / 0.5872 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.7184, allocations: 118.4 kB / 0.5873 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.7185, allocations: 51.95 kB / 0.5873 GB, free: 136.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.742e-05/0.7186, allocations: 111.6 kB / 0.5874 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7186, allocations: 0 / 0.5874 GB, free: 136.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001465/0.72, allocations: 0.5125 MB / 0.5879 GB, free: 136.6 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 (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.0006898/0.7207, allocations: 0.5015 MB / 0.5884 GB, free: 136.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004334/0.7251, allocations: 2.544 MB / 0.5909 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7251, allocations: 0 / 0.5909 GB, free: 134.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.7262, allocations: 1.23 MB / 0.5921 GB, free: 134.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/0.7308, allocations: 1.056 MB / 0.5931 GB, free: 134.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.7358, allocations: 4.462 MB / 0.5975 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/0.7367, allocations: 1.474 MB / 0.5989 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.7377, allocations: 255.4 kB / 0.5992 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.7379, allocations: 106.6 kB / 0.5993 GB, free: 130.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7379, allocations: 0 / 0.5993 GB, free: 130.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05684/0.7947, allocations: 37.51 MB / 0.6359 GB, free: 120.1 MB / 446.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)