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.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.0008595/0.0008595, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001095/0.001095, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8974/0.8974, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.01094/0.01094, allocations: 2.256 MB / 261.4 MB, free: 10.98 MB / 250.7 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: "" <> 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 1.323e-06/1.323e-06, allocations: 0 / 385.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.996e-05, allocations: 9.172 kB / 385.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002126/0.002146, allocations: 1.667 MB / 387 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.003873, allocations: 1.776 MB / 388.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.003948, allocations: 0 / 388.7 MB, free: 8.934 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.004282, allocations: 47.78 kB / 388.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.004678, allocations: 171.1 kB / 389 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.004853, allocations: 83.72 kB / 389 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.004981, allocations: 95.69 kB / 389.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.005078, allocations: 11.98 kB / 389.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.005182, allocations: 59.75 kB / 389.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005301, allocations: 31.91 kB / 389.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.005329, allocations: 8 kB / 389.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.005602, allocations: 219.7 kB / 389.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.00567, allocations: 31.84 kB / 389.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.005716, allocations: 27.92 kB / 389.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.006044, allocations: 311.1 kB / 389.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.006048, allocations: 7.938 kB / 389.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.00605, allocations: 0 / 389.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006054, allocations: 0 / 389.8 MB, free: 7.848 MB / 362.7 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.0005409/0.006595, allocations: 434.9 kB / 390.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.006633, allocations: 8.031 kB / 390.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.006662, allocations: 34.75 kB / 390.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.006702, allocations: 16.89 kB / 390.3 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006932, allocations: 165.1 kB / 390.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.006943, allocations: 4.375 kB / 390.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.006955, allocations: 12.06 kB / 390.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.007133, allocations: 121.1 kB / 390.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.007141, allocations: 0 / 390.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.007152, allocations: 4 kB / 390.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.007157, allocations: 4 kB / 390.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.007259, allocations: 81.66 kB / 390.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.007587, allocations: 292.7 kB / 391 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.00778, allocations: 118.9 kB / 391.1 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.007855, allocations: 83.44 kB / 391.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.00787, allocations: 0 / 391.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.008037, allocations: 168.5 kB / 391.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.008039, allocations: 3.984 kB / 391.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003628/0.008402, allocations: 298.8 kB / 391.6 MB, free: 5.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.008445, allocations: 110.8 kB / 391.7 MB, free: 5.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.008561, allocations: 178.2 kB / 391.9 MB, free: 5.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.008573, allocations: 25.7 kB / 391.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.008619, allocations: 104 kB / 392 MB, free: 5.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.008646, allocations: 27.75 kB / 392.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.008682, allocations: 25.7 kB / 392.1 MB, free: 5.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.008758, allocations: 322.8 kB / 392.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.008824, allocations: 69.62 kB / 392.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.008887, allocations: 87.39 kB / 392.6 MB, free: 4.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.009006, allocations: 153.1 kB / 392.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009008, allocations: 7.938 kB / 392.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002025/0.009211, allocations: 228.8 kB / 393 MB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.009246, allocations: 33.7 kB / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009251, allocations: 0 / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.009266, allocations: 7.984 kB / 393 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.52e-05/0.009311, allocations: 11.94 kB / 393 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.009317, allocations: 3.938 kB / 393 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.009369, allocations: 15.95 kB / 393 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.009379, allocations: 11.98 kB / 393 MB, free: 4.285 MB / 362.7 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 8.788e-05/0.009466, allocations: 159.5 kB / 393.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.009484, allocations: 11.95 kB / 393.2 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.00951, allocations: 12.78 kB / 393.2 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009512, allocations: 0 / 393.2 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.009516, allocations: 4 kB / 393.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.00952, allocations: 3.938 kB / 393.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.009631, allocations: 168.6 kB / 393.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009632, allocations: 0 / 393.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.009661, allocations: 11.98 kB / 393.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.009663, allocations: 4 kB / 393.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.009675, allocations: 12 kB / 393.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009676, allocations: 3.938 kB / 393.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009678, allocations: 0 / 393.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.009916, allocations: 285.2 kB / 393.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.009937, allocations: 15.89 kB / 393.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.009959, allocations: 8 kB / 393.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.009994, allocations: 4 kB / 393.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.01002, allocations: 11.92 kB / 393.7 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.01004, allocations: 4 kB / 393.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.01012, allocations: 138.4 kB / 393.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01012, allocations: 0 / 393.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01035, allocations: 91.72 kB / 394 MB, free: 3.262 MB / 362.7 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.001105/0.01145, allocations: 1.19 MB / 395.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.0117, allocations: 238.6 kB / 395.4 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.0117, allocations: 4 kB / 395.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.01179, allocations: 137.1 kB / 395.5 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01199, allocations: 29.83 kB / 395.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.01376, allocations: 2.104 MB / 397.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.531e-05/0.01383, allocations: 93.44 kB / 397.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.01388, allocations: 16.48 kB / 397.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.01395, allocations: 40.47 kB / 397.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01395, allocations: 0 / 397.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.03471, allocations: 5.475 MB / 403.3 MB, free: 9.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.742, allocations: 7.734 kB / 403.3 MB, free: 9.852 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.45189565885812] Failed to read output from testmodel.py, exit status != 0: 6.828466299921274 6.839313015 6.831410209 Calling exit ...