Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01391/0.01391, allocations: 2.98 MB / 305.7 MB, free: 6.793 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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: "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 425.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.101, allocations: 53.08 MB / 478.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003313/0.1043, allocations: 1.673 MB / 480.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1074, allocations: 1.74 MB / 481.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1075, allocations: 0 / 481.9 MB, free: 13.32 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.108, allocations: 51.7 kB / 481.9 MB, free: 13.27 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0006762/0.1087, allocations: 179.2 kB / 482.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.109, allocations: 87.77 kB / 482.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1091, allocations: 87.77 kB / 482.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.1092, allocations: 11.98 kB / 482.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.1093, allocations: 35.86 kB / 482.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1095, allocations: 51.7 kB / 482.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1095, allocations: 4 kB / 482.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.1099, allocations: 271.7 kB / 482.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.11, allocations: 27.84 kB / 482.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.11, allocations: 43.73 kB / 482.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.1105, allocations: 311.1 kB / 483 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1105, allocations: 4 kB / 483 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1105, allocations: 0 / 483 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1105, allocations: 0 / 483 MB, free: 12.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007092/0.1112, allocations: 0.4921 MB / 483.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1113, allocations: 15.89 kB / 483.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1113, allocations: 38.73 kB / 483.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.1114, allocations: 16.84 kB / 483.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1117, allocations: 226.4 kB / 483.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1117, allocations: 7.938 kB / 483.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1118, allocations: 4 kB / 483.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.112, allocations: 103.3 kB / 483.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.112, allocations: 0 / 483.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.112, allocations: 0 / 483.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.112, allocations: 0 / 483.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1122, allocations: 51.97 kB / 484 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.1126, allocations: 333.6 kB / 484.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1129, allocations: 81.28 kB / 484.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.113, allocations: 49.69 kB / 484.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.113, allocations: 7.938 kB / 484.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1132, allocations: 138.7 kB / 484.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1132, allocations: 0 / 484.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004923/0.1137, allocations: 235.3 kB / 484.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.1138, allocations: 118.8 kB / 484.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.114, allocations: 173.4 kB / 485.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.114, allocations: 33.7 kB / 485.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.1141, allocations: 92.14 kB / 485.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1141, allocations: 31.73 kB / 485.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1142, allocations: 21.72 kB / 485.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1143, allocations: 326.8 kB / 485.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.1144, allocations: 35.97 kB / 485.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.1145, allocations: 61.58 kB / 485.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1147, allocations: 145 kB / 485.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1147, allocations: 3.984 kB / 485.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003089/0.115, allocations: 195.2 kB / 486 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.115, allocations: 33.69 kB / 486.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.115, allocations: 4 kB / 486.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1151, allocations: 3.938 kB / 486.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.1151, allocations: 12 kB / 486.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1151, allocations: 3.938 kB / 486.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.1152, allocations: 11.98 kB / 486.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1152, allocations: 12 kB / 486.1 MB, free: 8.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001372/0.1154, allocations: 156.4 kB / 486.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1154, allocations: 15.91 kB / 486.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.1154, allocations: 16.66 kB / 486.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1154, allocations: 3.984 kB / 486.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1154, allocations: 7.938 kB / 486.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1154, allocations: 7.984 kB / 486.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1156, allocations: 205.6 kB / 486.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1156, allocations: 0 / 486.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.1157, allocations: 11.98 kB / 486.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1157, allocations: 0 / 486.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1157, allocations: 7.938 kB / 486.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1157, allocations: 0 / 486.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1157, allocations: 4 kB / 486.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.1161, allocations: 251.4 kB / 486.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.1162, allocations: 96.98 kB / 486.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1162, allocations: 7.938 kB / 486.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1163, allocations: 15.98 kB / 486.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1163, allocations: 0 / 486.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1163, allocations: 7.984 kB / 486.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1164, allocations: 131.2 kB / 487 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1164, allocations: 4 kB / 487 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1168, allocations: 95.67 kB / 487.1 MB, free: 7.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.001881/0.1187, allocations: 1.146 MB / 488.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.119, allocations: 155.3 kB / 488.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.119, allocations: 0 / 488.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1192, allocations: 111.4 kB / 488.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.1194, allocations: 26.89 kB / 488.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.1218, allocations: 1.935 MB / 490.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1221, allocations: 0.7045 MB / 491.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.1222, allocations: 28.39 kB / 491.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.1222, allocations: 39.42 kB / 491.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1222, allocations: 0 / 491.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.1538, allocations: 4.884 MB / 496.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.21, allocations: 3.938 kB / 496.2 MB, free: 14.54 MB / 366.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.700170849915594] Failed to read output from testmodel.py, exit status != 0: 8.282740590628237 8.298633297 8.185177112 Calling exit ...