Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009206/0.0009208, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001096/0.001096, allocations: 168.7 kB / 15.95 MB, free: 204 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.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1935/0.1935, allocations: 2.782 MB / 293.9 MB, free: 4.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003972, allocations: 8 kB / 355.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 51.24 MB / 406.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.3473/0.4679, allocations: 89.26 MB / 496.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05385/0.5218, allocations: 54.46 MB / 0.5377 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.5238, allocations: 2.906 kB / 0.5377 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004747/0.5285, allocations: 1.212 MB / 0.5389 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02981/0.5584, allocations: 6.353 MB / 0.5451 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.5696, allocations: 2.487 MB / 0.5475 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.5728, allocations: 1.615 MB / 0.5491 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.5731, allocations: 142.3 kB / 0.5492 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/0.5796, allocations: 0.6142 MB / 0.5498 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.5816, allocations: 0.556 MB / 0.5504 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.5819, allocations: 32 kB / 0.5504 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02473/0.6067, allocations: 3.746 MB / 0.554 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009117/0.6077, allocations: 167 kB / 0.5542 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.6096, allocations: 329 kB / 0.5545 GB, free: 404 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00809/0.6177, allocations: 2.766 MB / 0.5572 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6178, allocations: 0 / 0.5572 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6178, allocations: 0 / 0.5572 GB, free: 13.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.466e-05/0.6179, allocations: 0 / 0.5572 GB, free: 13.62 MB / 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.004887/0.6228, allocations: 1.779 MB / 0.559 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6229, allocations: 12.03 kB / 0.559 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.6284, allocations: 1.411 MB / 0.5603 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.6294, allocations: 0.4933 MB / 0.5608 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.6296, allocations: 82.14 kB / 0.5609 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.6297, allocations: 104 kB / 0.561 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.6327, allocations: 1.913 MB / 0.5629 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.6327, allocations: 0 / 0.5629 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.6328, allocations: 44 kB / 0.5629 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/0.6329, allocations: 95.88 kB / 0.563 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.6356, allocations: 1.843 MB / 0.5648 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.6466, allocations: 9.195 MB / 0.5738 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.6485, allocations: 0.8154 MB / 0.5746 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6497, allocations: 0.6852 MB / 0.5752 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004443/0.6541, allocations: 2.921 MB / 0.5781 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.6542, allocations: 42.5 kB / 0.5781 GB, free: 6.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 4.258e-06/0.6542, allocations: 0 / 0.5781 GB, free: 6.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.003459/0.6577, allocations: 1.394 MB / 0.5795 GB, free: 5.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.6578, allocations: 77.11 kB / 0.5796 GB, free: 5.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.6581, allocations: 206.8 kB / 0.5798 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.6581, allocations: 25.7 kB / 0.5798 GB, free: 4.918 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.6585, allocations: 448.2 kB / 0.5802 GB, free: 4.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/0.659, allocations: 0.6001 MB / 0.5808 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.6591, allocations: 8 kB / 0.5808 GB, free: 3.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.6593, allocations: 378.8 kB / 0.5812 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.66, allocations: 314.5 kB / 0.5815 GB, free: 3.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/0.6609, allocations: 0.5622 MB / 0.582 GB, free: 2.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.6618, allocations: 447.8 kB / 0.5825 GB, free: 2.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6618, allocations: 0 / 0.5825 GB, free: 2.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001915/0.6638, allocations: 1.012 MB / 0.5834 GB, free: 1.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.6638, allocations: 17.73 kB / 0.5835 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.6638, allocations: 8 kB / 0.5835 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.6639, allocations: 12 kB / 0.5835 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.6643, allocations: 103.8 kB / 0.5836 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2732/0.9375, allocations: 1.185 MB / 0.5847 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.9387, allocations: 167.3 kB / 0.5849 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.9388, allocations: 31.59 kB / 0.5849 GB, free: 135.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007046/0.9395, allocations: 296 kB / 0.5852 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.9397, allocations: 58.38 kB / 0.5853 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.9436, allocations: 2.943 MB / 0.5881 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002879/0.9465, allocations: 2.426 MB / 0.5905 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.9465, allocations: 6.75 kB / 0.5905 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.9466, allocations: 14.16 kB / 0.5905 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/0.954, allocations: 5.655 MB / 0.5961 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.954, allocations: 3.891 kB / 0.5961 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/0.9549, allocations: 315.1 kB / 0.5964 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.9553, allocations: 286.1 kB / 0.5966 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.9553, allocations: 38.2 kB / 0.5967 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006316/0.956, allocations: 1.265 MB / 0.5979 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.956, allocations: 2.688 kB / 0.5979 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.959, allocations: 2.423 MB / 0.6003 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.9595, allocations: 236.4 kB / 0.6005 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.9596, allocations: 33.56 kB / 0.6005 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.9604, allocations: 201 kB / 0.6007 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.9606, allocations: 119.7 kB / 0.6008 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.9607, allocations: 50.81 kB / 0.6009 GB, free: 129.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.9608, allocations: 128.9 kB / 0.601 GB, free: 129.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9608, allocations: 0 / 0.601 GB, free: 129.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001718/0.9626, allocations: 0.4975 MB / 0.6015 GB, free: 129.6 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.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.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 (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008927/0.9635, allocations: 0.5396 MB / 0.602 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.966, allocations: 2.354 MB / 0.6043 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.966, allocations: 3.938 kB / 0.6043 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.9672, allocations: 1.076 MB / 0.6054 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/0.9712, allocations: 0.9532 MB / 0.6063 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.9759, allocations: 3.923 MB / 0.6101 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008692/0.9768, allocations: 1.409 MB / 0.6115 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.978, allocations: 248.6 kB / 0.6117 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.9782, allocations: 107.9 kB / 0.6118 GB, free: 124.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.9782, allocations: 0 / 0.6118 GB, free: 124.2 MB / 446.1 MB Notification: Performance of Templates: time 0.06003/1.038, allocations: 33.89 MB / 0.6449 GB, free: 112.2 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1) Environment - environmentSimulation: