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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 220.4 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01341/0.01341, allocations: 2.792 MB / 315.2 MB, free: 308 kB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 59.91 kB / 439.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09748, allocations: 54.17 MB / 493.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.009298/0.1068, allocations: 7.66 MB / 0.4893 GB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.1073, allocations: 0.5643 MB / 0.4898 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.1073, allocations: 0 / 0.4898 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1075, allocations: 63.67 kB / 0.4899 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.1075, allocations: 15.84 kB / 0.4899 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.1077, allocations: 31.77 kB / 0.4899 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.1077, allocations: 39.69 kB / 0.49 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1078, allocations: 3.938 kB / 0.49 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.1078, allocations: 19.92 kB / 0.49 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.1079, allocations: 15.92 kB / 0.49 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1079, allocations: 0 / 0.49 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1081, allocations: 35.94 kB / 0.49 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.1081, allocations: 7.938 kB / 0.49 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.1081, allocations: 11.94 kB / 0.49 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1082, allocations: 43.83 kB / 0.4901 GB, free: 14.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1083, allocations: 0 / 0.4901 GB, free: 14.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1083, allocations: 3.938 kB / 0.4901 GB, free: 14.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1083, allocations: 0 / 0.4901 GB, free: 14.31 MB / 366.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.0003311/0.1086, allocations: 266.3 kB / 0.4903 GB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1086, allocations: 8.031 kB / 0.4904 GB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1087, allocations: 4.938 kB / 0.4904 GB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.359e-05/0.1087, allocations: 110.4 kB / 0.4905 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1088, allocations: 4.375 kB / 0.4905 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-06/0.1088, allocations: 384 / 0.4905 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1089, allocations: 57.81 kB / 0.4905 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1089, allocations: 0 / 0.4905 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.1089, allocations: 0 / 0.4905 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1089, allocations: 0 / 0.4905 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.1089, allocations: 31.98 kB / 0.4906 GB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.1091, allocations: 144.7 kB / 0.4907 GB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.1092, allocations: 46.5 kB / 0.4907 GB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.1092, allocations: 28.88 kB / 0.4908 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1092, allocations: 3.938 kB / 0.4908 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1093, allocations: 38.56 kB / 0.4908 GB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1093, allocations: 4 kB / 0.4908 GB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002094/0.1095, allocations: 119 kB / 0.4909 GB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1095, allocations: 55.41 kB / 0.491 GB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.1096, allocations: 89.86 kB / 0.4911 GB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1096, allocations: 29.7 kB / 0.4911 GB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.1096, allocations: 80.38 kB / 0.4912 GB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.1097, allocations: 51.52 kB / 0.4912 GB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1097, allocations: 17.66 kB / 0.4912 GB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1098, allocations: 322.9 kB / 0.4915 GB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.1099, allocations: 24 kB / 0.4916 GB, free: 12.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.1099, allocations: 23.98 kB / 0.4916 GB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.064e-05/0.11, allocations: 68.34 kB / 0.4917 GB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.11, allocations: 0 / 0.4917 GB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000114/0.1101, allocations: 97.56 kB / 0.4917 GB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1101, allocations: 7.938 kB / 0.4918 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1101, allocations: 0 / 0.4918 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1101, allocations: 3.984 kB / 0.4918 GB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1101, allocations: 3.938 kB / 0.4918 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1101, allocations: 4.062 kB / 0.4918 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.1102, allocations: 7.938 kB / 0.4918 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.1102, allocations: 0 / 0.4918 GB, free: 12.41 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.1103, allocations: 113.8 kB / 0.4919 GB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.1103, allocations: 11.89 kB / 0.4919 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.1103, allocations: 7.953 kB / 0.4919 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1103, allocations: 0 / 0.4919 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1103, allocations: 0 / 0.4919 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.1103, allocations: 0 / 0.4919 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1104, allocations: 140.8 kB / 0.492 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1104, allocations: 0 / 0.492 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.1104, allocations: 7.922 kB / 0.492 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1104, allocations: 0 / 0.492 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1104, allocations: 4 kB / 0.492 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1104, allocations: 0 / 0.492 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1104, allocations: 0 / 0.492 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1106, allocations: 121.1 kB / 0.4922 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.1106, allocations: 15.86 kB / 0.4922 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.1106, allocations: 4 kB / 0.4922 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.1106, allocations: 0 / 0.4922 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.1106, allocations: 7.938 kB / 0.4922 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1106, allocations: 4 kB / 0.4922 GB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1107, allocations: 75.28 kB / 0.4923 GB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1107, allocations: 0 / 0.4923 GB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.1108, allocations: 12 kB / 0.4923 GB, free: 11.83 MB / 366.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 (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.0002821/0.1111, allocations: 128.6 kB / 0.4924 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1113, allocations: 51.98 kB / 0.4924 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1113, allocations: 0 / 0.4924 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.1113, allocations: 36.05 kB / 0.4925 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1117, allocations: 23.95 kB / 0.4925 GB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.112, allocations: 201.9 kB / 0.4927 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1123, allocations: 0.6846 MB / 0.4934 GB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.892e-05/0.1123, allocations: 4 kB / 0.4934 GB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.1123, allocations: 11.38 kB / 0.4934 GB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1123, allocations: 0 / 0.4934 GB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004157/0.1165, allocations: 1.395 MB / 0.4947 GB, free: 9.262 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9272311250679195] Failed to read output from testmodel.py, exit status != 0: 0.12350515788421035 0.33259349599999993 0.22073233499999995 Calling exit ...