Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001619/0.001619, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1737/0.1737, allocations: 2.761 MB / 293.5 MB, free: 3.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.91 kB / 354.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1131, allocations: 50.23 MB / 404.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.2755/0.3887, allocations: 96.32 MB / 0.4894 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05304/0.4418, allocations: 58.86 MB / 0.5468 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.4436, allocations: 12 kB / 0.5468 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00406/0.4476, allocations: 1.286 MB / 0.5481 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02391/0.4716, allocations: 6.733 MB / 0.5547 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008652/0.4803, allocations: 2.697 MB / 0.5573 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.4829, allocations: 1.732 MB / 0.559 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.4831, allocations: 136.9 kB / 0.5591 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/0.4892, allocations: 0.7535 MB / 0.5599 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008833/0.4901, allocations: 0.5948 MB / 0.5604 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.4902, allocations: 72 kB / 0.5605 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0164/0.5066, allocations: 3.804 MB / 0.5642 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.507, allocations: 210.8 kB / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.508, allocations: 0.7154 MB / 0.5651 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005279/0.5133, allocations: 2.821 MB / 0.5679 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5134, allocations: 0 / 0.5679 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5134, allocations: 0 / 0.5679 GB, free: 408 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5134, allocations: 0 / 0.5679 GB, free: 408 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.002911/0.5163, allocations: 2.014 MB / 0.5699 GB, free: 14.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5164, allocations: 8.031 kB / 0.5699 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.5213, allocations: 1.408 MB / 0.5712 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.5222, allocations: 494.6 kB / 0.5717 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.5223, allocations: 82.52 kB / 0.5718 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5224, allocations: 104.4 kB / 0.5719 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.5253, allocations: 1.913 MB / 0.5738 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5253, allocations: 3.984 kB / 0.5738 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.5254, allocations: 52 kB / 0.5738 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.5255, allocations: 87.94 kB / 0.5739 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.528, allocations: 1.839 MB / 0.5757 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2026/0.7305, allocations: 9.163 MB / 0.5846 GB, free: 137.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.7321, allocations: 0.7793 MB / 0.5854 GB, free: 137.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.7329, allocations: 0.6632 MB / 0.586 GB, free: 137.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/0.7353, allocations: 2.882 MB / 0.5889 GB, free: 135.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7353, allocations: 37.78 kB / 0.5889 GB, free: 135.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 3.697e-06/0.7353, allocations: 1.875 kB / 0.5889 GB, free: 135.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.002392/0.7377, allocations: 1.333 MB / 0.5902 GB, free: 134.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.7378, allocations: 79.77 kB / 0.5903 GB, free: 134.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.738, allocations: 201.8 kB / 0.5905 GB, free: 134.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.738, allocations: 34.11 kB / 0.5905 GB, free: 134.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.7382, allocations: 446.3 kB / 0.5909 GB, free: 134.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.7385, allocations: 0.5974 MB / 0.5915 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.7387, allocations: 180.3 kB / 0.5917 GB, free: 133.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.7388, allocations: 312.2 kB / 0.592 GB, free: 133.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.7392, allocations: 286.5 kB / 0.5922 GB, free: 133.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005845/0.7398, allocations: 0.5427 MB / 0.5928 GB, free: 132.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.741, allocations: 0.9942 MB / 0.5937 GB, free: 132.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.741, allocations: 7.062 kB / 0.5938 GB, free: 132.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001402/0.7424, allocations: 0.9801 MB / 0.5947 GB, free: 131.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7424, allocations: 7.344 kB / 0.5947 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7425, allocations: 9.594 kB / 0.5947 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.7425, allocations: 9.656 kB / 0.5947 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.7428, allocations: 88.48 kB / 0.5948 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.7428, allocations: 18.47 kB / 0.5948 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.7436, allocations: 154.6 kB / 0.595 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.7436, allocations: 33.09 kB / 0.595 GB, free: 131.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004579/0.7441, allocations: 301 kB / 0.5953 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.7442, allocations: 58.28 kB / 0.5954 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.747, allocations: 2.753 MB / 0.5981 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002256/0.7493, allocations: 2.252 MB / 0.6003 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7493, allocations: 0 / 0.6003 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.7494, allocations: 13.27 kB / 0.6003 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00638/0.7557, allocations: 5.456 MB / 0.6056 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7558, allocations: 3.156 kB / 0.6056 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.7566, allocations: 301.6 kB / 0.6059 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.7566, allocations: 6.312 kB / 0.6059 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.7566, allocations: 41.27 kB / 0.6059 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.7567, allocations: 9.344 kB / 0.6059 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7567, allocations: 0 / 0.6059 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.759, allocations: 2.135 MB / 0.608 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.7594, allocations: 237.8 kB / 0.6082 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.7595, allocations: 37.44 kB / 0.6083 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/0.7603, allocations: 190.8 kB / 0.6085 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7605, allocations: 118.9 kB / 0.6086 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.7605, allocations: 44.34 kB / 0.6086 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.7607, allocations: 138.3 kB / 0.6088 GB, free: 125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7607, allocations: 0 / 0.6088 GB, free: 125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00139/0.7621, allocations: 0.4948 MB / 0.6092 GB, free: 124.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0008508/0.7629, allocations: 0.5338 MB / 0.6098 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.768, allocations: 2.382 MB / 0.6121 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.768, allocations: 0 / 0.6121 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.7692, allocations: 1.049 MB / 0.6131 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.7735, allocations: 0.9953 MB / 0.6141 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.7782, allocations: 4.104 MB / 0.6181 GB, free: 120 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008856/0.7791, allocations: 1.409 MB / 0.6195 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.7793, allocations: 109.6 kB / 0.6196 GB, free: 119.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7793, allocations: 2.281 kB / 0.6196 GB, free: 119.3 MB / 446.1 MB Notification: Performance of Templates: time 0.03995/0.8193, allocations: 20.27 MB / 0.6394 GB, free: 116 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1)