Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 91.53 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.001196/0.001196, 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.532/1.532, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1533/0.1533, allocations: 2.79 MB / 293.9 MB, free: 4.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.000405, allocations: 12 kB / 355.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 51.26 MB / 406.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.008463/0.1175, allocations: 6.803 MB / 413.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.118, allocations: 0.5143 MB / 414.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.118, allocations: 4 kB / 414.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1182, allocations: 51.75 kB / 414.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.1183, allocations: 19.83 kB / 414.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1185, allocations: 31.78 kB / 414.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.1185, allocations: 27.75 kB / 414.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.1186, allocations: 11.98 kB / 414.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.1186, allocations: 11.94 kB / 414.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.1187, allocations: 7.938 kB / 414.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1187, allocations: 0 / 414.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1189, allocations: 32 kB / 414.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.119, allocations: 11.92 kB / 414.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.119, allocations: 29.7 kB / 414.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1191, allocations: 35.94 kB / 414.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1191, allocations: 0 / 414.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1191, allocations: 0 / 414.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1191, allocations: 4 kB / 414.5 MB, free: 9.422 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003182/0.1195, allocations: 335.3 kB / 414.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1195, allocations: 8.031 kB / 414.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1196, allocations: 0 / 414.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1197, allocations: 171 kB / 415 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1197, allocations: 0 / 415 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1197, allocations: 3.984 kB / 415 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1198, allocations: 45.7 kB / 415 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1199, allocations: 0 / 415 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1199, allocations: 7.953 kB / 415 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1199, allocations: 11.98 kB / 415 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.1199, allocations: 20 kB / 415.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.1201, allocations: 169.6 kB / 415.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.1202, allocations: 54.64 kB / 415.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.1202, allocations: 40.94 kB / 415.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1203, allocations: 0 / 415.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1203, allocations: 38.56 kB / 415.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 8.61e-07/0.1203, allocations: 0 / 415.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002436/0.1205, allocations: 125.5 kB / 415.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1206, allocations: 59.41 kB / 415.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.973e-05/0.1207, allocations: 89.86 kB / 415.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1207, allocations: 25.7 kB / 415.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.1207, allocations: 84.31 kB / 415.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1208, allocations: 43.3 kB / 415.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-06/0.1208, allocations: 0 / 415.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1209, allocations: 318.9 kB / 416.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.121, allocations: 24 kB / 416.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.121, allocations: 27.98 kB / 416.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.1211, allocations: 20 kB / 416.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1211, allocations: 0 / 416.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001241/0.1212, allocations: 97.42 kB / 416.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1212, allocations: 4 kB / 416.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1212, allocations: 0 / 416.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1213, allocations: 0 / 416.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1213, allocations: 8 kB / 416.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1213, allocations: 3.953 kB / 416.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.1213, allocations: 7.906 kB / 416.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1213, allocations: 0 / 416.3 MB, free: 7.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.824e-05/0.1214, allocations: 105.8 kB / 416.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.1214, allocations: 4 kB / 416.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.1216, allocations: 101.6 kB / 416.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1216, allocations: 3.984 kB / 416.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1216, allocations: 4.031 kB / 416.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1216, allocations: 3.953 kB / 416.5 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1218, allocations: 169.6 kB / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1218, allocations: 0 / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.1218, allocations: 0 / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1218, allocations: 0 / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1218, allocations: 0 / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1218, allocations: 0 / 416.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1218, allocations: 11.92 kB / 416.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1219, allocations: 121 kB / 416.8 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.122, allocations: 84.95 kB / 416.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.122, allocations: 0 / 416.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.122, allocations: 4 kB / 416.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.122, allocations: 0 / 416.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.122, allocations: 7.938 kB / 416.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.161e-05/0.122, allocations: 75.28 kB / 417 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.122, allocations: 3.938 kB / 417 MB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1222, allocations: 12 kB / 417 MB, free: 6.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002481/0.1225, allocations: 127.8 kB / 417.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.1226, allocations: 67.92 kB / 417.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1226, allocations: 4.062 kB / 417.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.1227, allocations: 35.98 kB / 417.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.123, allocations: 27.92 kB / 417.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1234, allocations: 230.4 kB / 417.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.1236, allocations: 0.6848 MB / 418.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.1237, allocations: 0 / 418.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.1237, allocations: 11.44 kB / 418.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1237, allocations: 0 / 418.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of Templates: time 0.00389/0.1276, allocations: 1.15 MB / 419.3 MB, free: 4.23 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestSat -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) Environment - environmentSimulation: