Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestState.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.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.00105/0.00105, 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01153/0.01153, allocations: 2.783 MB / 294 MB, free: 11.94 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 406.6 MB, free: 29.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07486/0.07604, allocations: 50.24 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.007521/0.0836, allocations: 7.522 MB / 464.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 3.641e-05/0.08365, allocations: 35.88 kB / 464.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.08368, allocations: 0 / 464.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.08388, allocations: 75.59 kB / 464.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.08393, allocations: 19.78 kB / 464.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.08407, allocations: 51.67 kB / 464.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.08415, allocations: 43.62 kB / 464.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.08419, allocations: 0 / 464.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.08422, allocations: 11.94 kB / 464.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.08427, allocations: 11.94 kB / 464.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.08428, allocations: 0 / 464.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.08448, allocations: 43.98 kB / 464.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.0845, allocations: 7.984 kB / 464.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.08454, allocations: 23.88 kB / 464.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.08471, allocations: 55.77 kB / 464.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.08472, allocations: 0 / 464.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.08473, allocations: 3.938 kB / 464.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.08474, allocations: 0 / 464.7 MB, free: 2.848 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003027/0.08505, allocations: 339.4 kB / 465 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.08509, allocations: 8.031 kB / 465 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.08512, allocations: 12.89 kB / 465.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.08522, allocations: 164.3 kB / 465.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.08523, allocations: 384 / 465.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.08525, allocations: 4.375 kB / 465.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.08535, allocations: 61.81 kB / 465.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.08536, allocations: 0 / 465.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.08537, allocations: 0 / 465.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.08539, allocations: 3.984 kB / 465.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.08543, allocations: 27.94 kB / 465.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.08558, allocations: 169.6 kB / 465.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.08564, allocations: 50.58 kB / 465.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.08569, allocations: 48.81 kB / 465.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.08571, allocations: 7.938 kB / 465.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.08574, allocations: 30.56 kB / 465.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.08574, allocations: 0 / 465.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0001889/0.08594, allocations: 133.2 kB / 465.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.08597, allocations: 55.41 kB / 465.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.413e-05/0.08601, allocations: 89.86 kB / 465.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.08603, allocations: 25.7 kB / 465.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.08606, allocations: 84.17 kB / 466 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.08611, allocations: 47.53 kB / 466 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.08615, allocations: 21.7 kB / 466.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.08625, allocations: 314.8 kB / 466.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.08629, allocations: 27.98 kB / 466.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.08632, allocations: 27.92 kB / 466.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.08639, allocations: 68.78 kB / 466.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.0864, allocations: 0 / 466.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000112/0.08652, allocations: 101.6 kB / 466.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.08654, allocations: 11.94 kB / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.08655, allocations: 0 / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.08656, allocations: 0 / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.08657, allocations: 0 / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.08658, allocations: 0 / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.08661, allocations: 7.938 kB / 466.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.08662, allocations: 0 / 466.6 MB, free: 0.7227 MB / 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: 1 (state.phase) * 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.063e-05/0.08668, allocations: 105.8 kB / 466.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.0867, allocations: 15.92 kB / 466.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.08673, allocations: 8.094 kB / 466.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.08674, allocations: 0 / 466.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.08675, allocations: 3.984 kB / 466.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.08679, allocations: 81.06 kB / 466.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.0868, allocations: 4 kB / 466.8 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.08683, allocations: 0 / 466.8 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.08684, allocations: 0 / 466.8 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001118/0.08696, allocations: 180.6 kB / 467 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001583/0.08712, allocations: 262.8 kB / 467.3 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.169e-05/0.08718, allocations: 44.05 kB / 467.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.08721, allocations: 75.28 kB / 467.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Backend: time 2.1e-07/0.08722, allocations: 0 / 467.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.0877, allocations: 152.6 kB / 467.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.000447/0.08816, allocations: 0.645 MB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Templates: time 0.002869/0.09104, allocations: 0.9162 MB / 469.1 MB, free: 14.16 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestState.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe 2>&1)