Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008408, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009067/0.0009067, 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.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1913/0.1913, allocations: 2.787 MB / 293.9 MB, free: 4.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 8 kB / 355.6 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 51.26 MB / 406.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.009718/0.1443, allocations: 7.559 MB / 414.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009029/0.1534, allocations: 8.682 MB / 423.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1536, allocations: 0 / 423.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.1542, allocations: 139.3 kB / 423.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1546, allocations: 91.42 kB / 423.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2728/0.4274, allocations: 1.249 MB / 424.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.4279, allocations: 267 kB / 424.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.428, allocations: 13.84 kB / 424.9 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/0.4327, allocations: 116.1 kB / 425 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.433, allocations: 83.92 kB / 425.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.4331, allocations: 4.5 kB / 425.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.4356, allocations: 485.5 kB / 425.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.4356, allocations: 24.86 kB / 425.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.4357, allocations: 61.45 kB / 425.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.4363, allocations: 360.5 kB / 426 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4364, allocations: 3 kB / 426 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4364, allocations: 0 / 426 MB, free: 35.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4364, allocations: 0 / 426 MB, free: 35.37 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007482/0.4371, allocations: 0.538 MB / 426.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4372, allocations: 9.656 kB / 426.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.4375, allocations: 53.97 kB / 426.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4377, allocations: 204.8 kB / 426.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4377, allocations: 9.656 kB / 426.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4378, allocations: 9.688 kB / 426.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.4383, allocations: 248.3 kB / 427 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4383, allocations: 0 / 427 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.4383, allocations: 4.562 kB / 427 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4383, allocations: 16.53 kB / 427.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.4388, allocations: 211 kB / 427.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.4396, allocations: 0.6763 MB / 427.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.4401, allocations: 251.9 kB / 428.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.4404, allocations: 158.4 kB / 428.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.4406, allocations: 327.1 kB / 428.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4406, allocations: 39.75 kB / 428.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.4406, allocations: 0 / 428.7 MB, free: 33.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002737/0.4434, allocations: 1.252 MB / 429.9 MB, free: 33.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4434, allocations: 54.47 kB / 430 MB, free: 33.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4435, allocations: 127.9 kB / 430.1 MB, free: 33.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4436, allocations: 31.02 kB / 430.2 MB, free: 33.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.4436, allocations: 99.06 kB / 430.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.4437, allocations: 161.2 kB / 430.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.4437, allocations: 6 kB / 430.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.4438, allocations: 330.7 kB / 430.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.444, allocations: 127.9 kB / 430.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.4443, allocations: 190.5 kB / 431 MB, free: 32.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.4446, allocations: 160.2 kB / 431.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4446, allocations: 0 / 431.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001057/0.4457, allocations: 485.4 kB / 431.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.4457, allocations: 6.562 kB / 431.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4458, allocations: 3.188 kB / 431.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.4465, allocations: 166.2 kB / 431.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4466, allocations: 32.58 kB / 431.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/0.4471, allocations: 0.668 MB / 432.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4473, allocations: 22.8 kB / 432.6 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4473, allocations: 9.5 kB / 432.6 MB, free: 32.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (medium.state.phase,medium.phaseOutput,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4474, allocations: 131.2 kB / 432.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.4475, allocations: 15.12 kB / 432.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009919/0.4485, allocations: 0.726 MB / 433.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4485, allocations: 9.812 kB / 433.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4485, allocations: 1.312 kB / 433.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4485, allocations: 3.422 kB / 433.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.4489, allocations: 387.8 kB / 433.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4489, allocations: 0 / 433.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.4492, allocations: 50.84 kB / 433.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.4495, allocations: 92.75 kB / 434 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4495, allocations: 9.047 kB / 434 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.4509, allocations: 2.584 MB / 436.6 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4509, allocations: 4.062 kB / 436.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.452, allocations: 0.8518 MB / 437.4 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.452, allocations: 91.7 kB / 437.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.452, allocations: 6.344 kB / 437.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4522, allocations: 13.02 kB / 437.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.4523, allocations: 22.39 kB / 437.6 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.4523, allocations: 9.266 kB / 437.6 MB, free: 28.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.4523, allocations: 98.59 kB / 437.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4523, allocations: 0 / 437.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.4527, allocations: 65.69 kB / 437.7 MB, free: 28.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003569/0.4531, allocations: 173.8 kB / 437.9 MB, free: 28.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.4538, allocations: 378.8 kB / 438.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4539, allocations: 0 / 438.3 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.4543, allocations: 313.8 kB / 438.6 MB, free: 28.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.455, allocations: 101 kB / 438.7 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4561, allocations: 0.8306 MB / 439.5 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.4563, allocations: 0.7383 MB / 440.2 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.4565, allocations: 37.45 kB / 440.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.4566, allocations: 20.5 kB / 440.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4566, allocations: 0 / 440.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of Templates: time 0.008679/0.4653, allocations: 4.579 MB / 444.9 MB, free: 27.13 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe 2>&1) Environment - environmentSimulation: