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.001078/0.001078, allocations: 113.9 kB / 16.42 MB, free: 6.523 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.001016/0.001016, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01158/0.01158, allocations: 2.773 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.12 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06986/0.07106, allocations: 50.23 MB / 456.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007694/0.07879, allocations: 7.518 MB / 464.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.07924, allocations: 0.5682 MB / 464.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.07927, allocations: 4 kB / 464.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.07946, allocations: 59.67 kB / 465 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.0795, allocations: 19.84 kB / 465 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.07962, allocations: 27.77 kB / 465 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.07969, allocations: 31.75 kB / 465 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.07973, allocations: 0 / 465 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.07977, allocations: 19.94 kB / 465.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.07981, allocations: 7.938 kB / 465.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.07983, allocations: 0 / 465.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.08, allocations: 39.98 kB / 465.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.08002, allocations: 7.922 kB / 465.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.08006, allocations: 15.94 kB / 465.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.0802, allocations: 55.7 kB / 465.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08022, allocations: 0 / 465.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08022, allocations: 0 / 465.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.08023, allocations: 0 / 465.2 MB, free: 2.398 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.0003013/0.08054, allocations: 347.3 kB / 465.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.08058, allocations: 8.031 kB / 465.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.08061, allocations: 4.891 kB / 465.5 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.0807, allocations: 160.4 kB / 465.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.08072, allocations: 4.375 kB / 465.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.08073, allocations: 384 / 465.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.08084, allocations: 57.81 kB / 465.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.08085, allocations: 0 / 465.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.08086, allocations: 3.938 kB / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.08087, allocations: 0 / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.08091, allocations: 27.98 kB / 465.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.08107, allocations: 165.6 kB / 465.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.08114, allocations: 50.56 kB / 466 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.08119, allocations: 44.88 kB / 466 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.08121, allocations: 3.938 kB / 466 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.08123, allocations: 30.56 kB / 466.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.08124, allocations: 4 kB / 466.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001835/0.08143, allocations: 129.3 kB / 466.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.08147, allocations: 51.41 kB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.196e-05/0.0815, allocations: 89.86 kB / 466.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.08152, allocations: 25.7 kB / 466.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.08155, allocations: 80.38 kB / 466.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.08161, allocations: 43.59 kB / 466.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.08164, allocations: 17.72 kB / 466.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.08174, allocations: 322.9 kB / 466.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.08178, allocations: 20 kB / 466.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.08181, allocations: 23.98 kB / 466.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.343e-05/0.08189, allocations: 72.97 kB / 466.9 MB, free: 444 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0819, allocations: 4 kB / 466.9 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.831e-05/0.082, allocations: 85.67 kB / 467 MB, free: 348 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.08202, allocations: 7.938 kB / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.08203, allocations: 0 / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.08205, allocations: 0 / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.08205, allocations: 0 / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.08206, allocations: 4.062 kB / 467 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.08209, allocations: 15.89 kB / 467 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.0821, allocations: 0 / 467 MB, free: 320 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 6.61e-05/0.08217, allocations: 105.8 kB / 467.1 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.08219, allocations: 7.938 kB / 467.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.08222, allocations: 12.06 kB / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.08223, allocations: 0 / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.08224, allocations: 0 / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.08228, allocations: 92.94 kB / 467.3 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.08229, allocations: 4 kB / 467.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.08231, allocations: 0 / 467.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.08233, allocations: 0 / 467.3 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001287/0.08246, allocations: 168.9 kB / 467.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001567/0.08263, allocations: 266.5 kB / 467.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.842e-05/0.08268, allocations: 36 kB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.08272, allocations: 83.33 kB / 467.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Backend: time 2.8e-07/0.08272, allocations: 0 / 467.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.08317, allocations: 147.9 kB / 467.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004178/0.0836, allocations: 0.6038 MB / 468.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Templates: time 0.002876/0.08649, allocations: 0.8517 MB / 469.4 MB, free: 13.86 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)