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.0007286/0.0007286, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001796, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006995/0.0006995, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.00177, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9516/0.9516, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07966/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007513/0.007513, allocations: 1.992 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002367/0.00988, allocations: 1.234 MB / 247.4 MB, free: 11.54 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.28e-05, allocations: 2.312 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007819/0.007842, allocations: 7.755 MB / 256.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.008156, allocations: 0.5527 MB / 256.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.00818, allocations: 0 / 256.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.008317, allocations: 59.67 kB / 257 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.495e-05/0.008332, allocations: 19.84 kB / 257 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.008506, allocations: 47.56 kB / 257.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.144e-05/0.008568, allocations: 35.69 kB / 257.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.008605, allocations: 3.984 kB / 257.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.008648, allocations: 15.98 kB / 257.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.008696, allocations: 7.938 kB / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.00871, allocations: 0 / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.008836, allocations: 36 kB / 257.2 MB, free: 1.676 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Test.TestMedium.TestSat.Medium.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.008858, allocations: 3.938 kB / 257.2 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.008873, allocations: 12 kB / 257.2 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.008983, allocations: 47.83 kB / 257.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.008994, allocations: 0 / 257.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008995, allocations: 0 / 257.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.009005, allocations: 0 / 257.2 MB, free: 1.613 MB / 250.7 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.000262/0.009267, allocations: 248.5 kB / 257.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.009295, allocations: 8.031 kB / 257.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.009319, allocations: 4.938 kB / 257.5 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.009375, allocations: 105.8 kB / 257.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.009383, allocations: 384 / 257.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.009391, allocations: 384 / 257.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.846e-05/0.00947, allocations: 45.09 kB / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.009475, allocations: 192 / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.009481, allocations: 4.125 kB / 257.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.009488, allocations: 4 kB / 257.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.19e-05/0.0095, allocations: 11.92 kB / 257.7 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.775e-05/0.009567, allocations: 70.64 kB / 257.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/0.0096, allocations: 22.58 kB / 257.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.068e-05/0.00961, allocations: 12.89 kB / 257.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.009625, allocations: 0 / 257.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.009645, allocations: 34.56 kB / 257.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 6.71e-07/0.009646, allocations: 4 kB / 257.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001094/0.009755, allocations: 81.75 kB / 257.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.009779, allocations: 51.41 kB / 257.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.478e-05/0.009804, allocations: 93.8 kB / 258 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.009948, allocations: 25.7 kB / 258 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.61e-05/0.009964, allocations: 80.38 kB / 258.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.01001, allocations: 51.58 kB / 258.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.01003, allocations: 17.7 kB / 258.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.01009, allocations: 318.8 kB / 258.5 MB, free: 208 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.01011, allocations: 10.83 kB / 258.5 MB, free: 196 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.01012, allocations: 19.97 kB / 258.5 MB, free: 176 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.01016, allocations: 27.67 kB / 258.6 MB, free: 144 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01016, allocations: 4 kB / 258.6 MB, free: 140 kB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 4.728e-05/0.01021, allocations: 57.62 kB / 258.6 MB, free: 76 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01022, allocations: 8 kB / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01022, allocations: 0 / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01024, allocations: 0 / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-06/0.01024, allocations: 0 / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.01024, allocations: 0 / 258.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.01026, allocations: 7.875 kB / 258.6 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.01026, allocations: 4 kB / 258.6 MB, free: 56 kB / 250.7 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 5.498e-05/0.01032, allocations: 118.1 kB / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-06/0.01032, allocations: 0 / 258.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.01035, allocations: 3.969 kB / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01035, allocations: 4 kB / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01035, allocations: 0 / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01035, allocations: 3.938 kB / 258.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.0104, allocations: 73.84 kB / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.0104, allocations: 0 / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.0104, allocations: 0 / 258.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.01041, allocations: 15.89 kB / 258.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.01041, allocations: 4 kB / 258.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-06/0.01041, allocations: 0 / 258.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01042, allocations: 7.922 kB / 258.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01042, allocations: 0 / 258.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.249e-05/0.01048, allocations: 102.6 kB / 259 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.01049, allocations: 3.984 kB / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-06/0.0105, allocations: 0 / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-06/0.0105, allocations: 4 kB / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.0105, allocations: 0 / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.731e-06/0.01051, allocations: 4.859 kB / 259 MB, free: 15.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 0 / 259 MB, free: 15.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.808e-05/0.01061, allocations: 12.03 kB / 259 MB, free: 15.66 MB / 266.7 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.0002215/0.01083, allocations: 125.2 kB / 259.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.0109, allocations: 40.67 kB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.0109, allocations: 0 / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.01092, allocations: 24.84 kB / 259.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.01108, allocations: 32.16 kB / 259.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.01228, allocations: 187.2 kB / 259.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.01231, allocations: 67.34 kB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.814e-05/0.01233, allocations: 0 / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.01238, allocations: 63.36 kB / 259.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01238, allocations: 0 / 259.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002793/0.01517, allocations: 1.705 MB / 261.2 MB, free: 13.41 MB / 266.7 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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.488204083405435]