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.001144/0.001144, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001144/0.001144, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01122/0.01122, allocations: 2.782 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 406.6 MB, free: 29.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.09027, allocations: 50.24 MB / 456.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.01269/0.103, allocations: 7.518 MB / 464.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007105/0.1037, allocations: 0.5643 MB / 464.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.1038, allocations: 0 / 464.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1041, allocations: 67.61 kB / 465 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.1042, allocations: 11.91 kB / 465 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1043, allocations: 35.77 kB / 465 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.406e-05/0.1044, allocations: 27.75 kB / 465 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.1045, allocations: 8 kB / 465 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.1045, allocations: 7.938 kB / 465 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.1046, allocations: 15.92 kB / 465.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1046, allocations: 0 / 465.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.1049, allocations: 47.92 kB / 465.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1049, allocations: 7.875 kB / 465.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.1049, allocations: 11.94 kB / 465.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1052, allocations: 47.77 kB / 465.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1052, allocations: 0 / 465.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1052, allocations: 4 kB / 465.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1052, allocations: 4 kB / 465.2 MB, free: 2.41 MB / 334.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.0003611/0.1056, allocations: 335.4 kB / 465.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1056, allocations: 8.031 kB / 465.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1057, allocations: 8.891 kB / 465.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1058, allocations: 164.3 kB / 465.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1058, allocations: 384 / 465.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1058, allocations: 384 / 465.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.106, allocations: 61.81 kB / 465.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.106, allocations: 0 / 465.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.106, allocations: 4 kB / 465.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.106, allocations: 4 kB / 465.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.1061, allocations: 23.98 kB / 465.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1063, allocations: 169.6 kB / 465.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.1064, allocations: 54.5 kB / 466 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1065, allocations: 36.88 kB / 466 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1065, allocations: 3.938 kB / 466 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1065, allocations: 38.56 kB / 466.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.1065, allocations: 0 / 466.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002501/0.1068, allocations: 117.6 kB / 466.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1068, allocations: 51.41 kB / 466.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.1069, allocations: 89.86 kB / 466.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1069, allocations: 29.64 kB / 466.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.107, allocations: 84.38 kB / 466.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/0.107, allocations: 47.59 kB / 466.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1071, allocations: 13.75 kB / 466.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1072, allocations: 322.8 kB / 466.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1073, allocations: 20 kB / 466.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.1073, allocations: 27.86 kB / 466.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1074, allocations: 65.09 kB / 466.9 MB, free: 464 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1075, allocations: 3.938 kB / 466.9 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001491/0.1076, allocations: 85.67 kB / 467 MB, free: 368 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1076, allocations: 11.94 kB / 467 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1077, allocations: 0 / 467 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1077, allocations: 64 / 467 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.1077, allocations: 7.938 kB / 467 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1077, allocations: 0 / 467 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.1078, allocations: 7.891 kB / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1078, allocations: 7.938 kB / 467 MB, free: 332 kB / 334.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.52e-05/0.1079, allocations: 109.8 kB / 467.2 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1079, allocations: 3.938 kB / 467.2 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.108, allocations: 12.08 kB / 467.2 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.108, allocations: 3.984 kB / 467.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.108, allocations: 4 kB / 467.2 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.108, allocations: 85 kB / 467.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1081, allocations: 0 / 467.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.878e-05/0.1081, allocations: 0 / 467.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.1081, allocations: 4 kB / 467.3 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001827/0.1083, allocations: 161 kB / 467.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002451/0.1086, allocations: 270.6 kB / 467.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.472e-05/0.1087, allocations: 40.05 kB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.1087, allocations: 79.28 kB / 467.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.1087, allocations: 0 / 467.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.1094, allocations: 140.3 kB / 467.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005717/0.11, allocations: 0.6076 MB / 468.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Templates: time 0.004136/0.1142, allocations: 0.8595 MB / 469.4 MB, free: 13.87 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile (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)