Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.0008154/0.0008154, 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.001084/0.001084, 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.8862/0.8862, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.009899/0.009899, allocations: 2.255 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.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 385.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.604e-05, allocations: 6.219 kB / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002222/0.002248, allocations: 1.667 MB / 387 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.004073, allocations: 1.765 MB / 388.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.004151, allocations: 4 kB / 388.7 MB, free: 8.938 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:209:3-236:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.004493, allocations: 43.78 kB / 388.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.004929, allocations: 166.4 kB / 388.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.005126, allocations: 87.72 kB / 389 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.005254, allocations: 95.69 kB / 389.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.005339, allocations: 8.219 kB / 389.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.005422, allocations: 55.83 kB / 389.2 MB, free: 8.488 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.005527, allocations: 31.89 kB / 389.2 MB, free: 8.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.005542, allocations: 15.94 kB / 389.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.005807, allocations: 219.7 kB / 389.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.00587, allocations: 23.91 kB / 389.5 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.005916, allocations: 27.92 kB / 389.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.006267, allocations: 311.1 kB / 389.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.006271, allocations: 4 kB / 389.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006273, allocations: 3.938 kB / 389.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006278, allocations: 0 / 389.8 MB, free: 7.863 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.0005652/0.006843, allocations: 434.9 kB / 390.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.006888, allocations: 12.03 kB / 390.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.006917, allocations: 34.75 kB / 390.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.00696, allocations: 12.89 kB / 390.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.007229, allocations: 164.3 kB / 390.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.007241, allocations: 8.312 kB / 390.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.007251, allocations: 4.312 kB / 390.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.007453, allocations: 129.4 kB / 390.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.007461, allocations: 0 / 390.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.007472, allocations: 4 kB / 390.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007477, allocations: 0 / 390.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.007582, allocations: 89.66 kB / 390.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.007923, allocations: 280.7 kB / 390.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.008117, allocations: 122.9 kB / 391.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.008186, allocations: 83.42 kB / 391.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.0082, allocations: 0 / 391.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.008363, allocations: 168.5 kB / 391.3 MB, free: 6.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 7.21e-07/0.008364, allocations: 0 / 391.3 MB, free: 6.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000337/0.008701, allocations: 302.8 kB / 391.6 MB, free: 5.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.008743, allocations: 106.8 kB / 391.7 MB, free: 5.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008848, allocations: 172.8 kB / 391.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.00886, allocations: 25.7 kB / 391.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.008903, allocations: 107.9 kB / 392 MB, free: 5.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.008928, allocations: 23.81 kB / 392 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.008963, allocations: 25.7 kB / 392.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.009054, allocations: 330.8 kB / 392.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.009119, allocations: 69.62 kB / 392.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.009182, allocations: 91.33 kB / 392.5 MB, free: 4.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.009294, allocations: 145.1 kB / 392.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009296, allocations: 4 kB / 392.7 MB, free: 4.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002055/0.009502, allocations: 232.8 kB / 392.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.009533, allocations: 41.69 kB / 393 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009538, allocations: 0 / 393 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.009552, allocations: 4 kB / 393 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.439e-05/0.009597, allocations: 15.92 kB / 393 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009602, allocations: 0 / 393 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.009653, allocations: 19.89 kB / 393 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.009662, allocations: 7.938 kB / 393 MB, free: 4.312 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 0.00011/0.009772, allocations: 156.2 kB / 393.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.009792, allocations: 11.95 kB / 393.2 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.009818, allocations: 16.77 kB / 393.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00982, allocations: 0 / 393.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.009826, allocations: 4 kB / 393.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009829, allocations: 0 / 393.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.009945, allocations: 168.6 kB / 393.4 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009948, allocations: 4 kB / 393.4 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.009978, allocations: 15.98 kB / 393.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.009979, allocations: 0 / 393.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.009989, allocations: 4 kB / 393.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009992, allocations: 4 kB / 393.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009993, allocations: 0 / 393.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.01027, allocations: 289.4 kB / 393.7 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.01029, allocations: 15.95 kB / 393.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01031, allocations: 7.984 kB / 393.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.01034, allocations: 4 kB / 393.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.01037, allocations: 11.98 kB / 393.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01039, allocations: 8 kB / 393.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.7e-05/0.01046, allocations: 127.2 kB / 393.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01046, allocations: 0 / 393.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01071, allocations: 95.67 kB / 393.9 MB, free: 3.293 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.001392/0.0121, allocations: 1.329 MB / 395.3 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.01233, allocations: 226.7 kB / 395.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01233, allocations: 0 / 395.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.01241, allocations: 145.1 kB / 395.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01259, allocations: 19.92 kB / 395.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.01417, allocations: 2.098 MB / 397.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.769e-05/0.01425, allocations: 93.09 kB / 397.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.01429, allocations: 20.48 kB / 397.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.01435, allocations: 40.47 kB / 397.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01435, allocations: 0 / 397.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03248, allocations: 5.641 MB / 403.5 MB, free: 9.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.816, allocations: 4.062 kB / 403.5 MB, free: 9.641 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ExternData_ExternData.Examples.XLSXTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSXTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSXTest.pipe >> ../files/ExternData_ExternData.Examples.XLSXTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSXTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.522158996202052] Failed to read output from testmodel.py, exit status != 0: 6.9084434155374765 6.918336437 6.91001819 Calling exit ...