Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.001697/0.001697, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002155/0.002155, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.664/1.664, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01994/0.01994, allocations: 3.276 MB / 315.7 MB, free: 15.71 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 440 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1166, allocations: 54.38 MB / 494.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003835/0.1204, allocations: 1.554 MB / 495.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1226, allocations: 1.122 MB / 497.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1227, allocations: 0 / 497.1 MB, free: 2.387 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1229, allocations: 31.86 kB / 497.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.1234, allocations: 103.5 kB / 497.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.1235, allocations: 15.92 kB / 497.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.759e-05/0.1236, allocations: 35.86 kB / 497.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1237, allocations: 8 kB / 497.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.1238, allocations: 19.91 kB / 497.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1239, allocations: 11.94 kB / 497.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1239, allocations: 4 kB / 497.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1241, allocations: 103.9 kB / 497.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.1241, allocations: 7.875 kB / 497.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1242, allocations: 11.94 kB / 497.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1245, allocations: 127.6 kB / 497.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1245, allocations: 0 / 497.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1245, allocations: 4 kB / 497.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1245, allocations: 0 / 497.5 MB, free: 1.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005945/0.1251, allocations: 309.9 kB / 497.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1251, allocations: 8.031 kB / 497.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1252, allocations: 8.891 kB / 497.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1255, allocations: 118.5 kB / 498 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1255, allocations: 384 / 498 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1255, allocations: 4.375 kB / 498 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1257, allocations: 49.75 kB / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1257, allocations: 0 / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1257, allocations: 11.94 kB / 498 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1257, allocations: 4 kB / 498 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1258, allocations: 19.98 kB / 498.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.1262, allocations: 208.6 kB / 498.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1265, allocations: 46.55 kB / 498.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.1265, allocations: 20.84 kB / 498.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1265, allocations: 0 / 498.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1266, allocations: 38.5 kB / 498.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1266, allocations: 4 kB / 498.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003316/0.1269, allocations: 65.72 kB / 498.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.127, allocations: 63.33 kB / 498.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1271, allocations: 113.8 kB / 498.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1271, allocations: 29.7 kB / 498.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1272, allocations: 84.14 kB / 498.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1272, allocations: 11.91 kB / 498.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1273, allocations: 17.7 kB / 498.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1275, allocations: 314.8 kB / 499 MB, free: 232 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1275, allocations: 12 kB / 499.1 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.1276, allocations: 11.98 kB / 499.1 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.1277, allocations: 32.78 kB / 499.1 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1277, allocations: 0 / 499.1 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002382/0.1279, allocations: 57.61 kB / 499.2 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1279, allocations: 4 kB / 499.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1279, allocations: 0 / 499.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.128, allocations: 4 kB / 499.2 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.128, allocations: 4 kB / 499.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.128, allocations: 4 kB / 499.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.1281, allocations: 11.98 kB / 499.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1281, allocations: 0 / 499.2 MB, free: 80 kB / 350.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001484/0.1282, allocations: 113.8 kB / 499.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.1283, allocations: 7.953 kB / 499.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1284, allocations: 8 kB / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1284, allocations: 4.375 kB / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1284, allocations: 0 / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1284, allocations: 0 / 499.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1286, allocations: 113.2 kB / 499.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1286, allocations: 7.938 kB / 499.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.1286, allocations: 7.984 kB / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1286, allocations: 0 / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1286, allocations: 0 / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1287, allocations: 0 / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1287, allocations: 4 kB / 499.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.129, allocations: 167.3 kB / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.129, allocations: 0 / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.129, allocations: 0 / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1291, allocations: 4 kB / 499.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1291, allocations: 8.359 kB / 499.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1291, allocations: 0 / 499.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.1292, allocations: 99.27 kB / 499.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1292, allocations: 0 / 499.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1295, allocations: 35.81 kB / 499.8 MB, free: 15.45 MB / 366.1 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001096/0.1306, allocations: 320.1 kB / 0.4883 GB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1308, allocations: 31.92 kB / 0.4884 GB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.1309, allocations: 4 kB / 0.4884 GB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.1309, allocations: 15.98 kB / 0.4884 GB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1312, allocations: 15.62 kB / 0.4884 GB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1317, allocations: 129.6 kB / 0.4885 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.1318, allocations: 63.34 kB / 0.4886 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.1319, allocations: 4 kB / 0.4886 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1319, allocations: 15.42 kB / 0.4886 GB, free: 14.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1319, allocations: 4 kB / 0.4886 GB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.00551/0.1374, allocations: 1.37 MB / 0.49 GB, free: 13.51 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.INITest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.268911976367235] Failed to read output from testmodel.py, exit status != 0: 0.14801662787795067 0.370605944 0.045137151 Calling exit ...