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.001225/0.001225, 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.001641/0.001641, allocations: 165.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.9307/0.9307, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.009688/0.009688, allocations: 2.244 MB / 261.4 MB, free: 11 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.783e-06/1.783e-06, allocations: 0 / 385.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.658e-05, allocations: 2.281 kB / 385.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.00195/0.001966, allocations: 1.667 MB / 387 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.003646, allocations: 1.772 MB / 388.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.003712, allocations: 0 / 388.7 MB, free: 8.938 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.0003183/0.00403, allocations: 47.77 kB / 388.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.004439, allocations: 171.1 kB / 389 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.004626, allocations: 83.72 kB / 389 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.004742, allocations: 95.69 kB / 389.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.004818, allocations: 7.984 kB / 389.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.004896, allocations: 55.84 kB / 389.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.004994, allocations: 31.89 kB / 389.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.00501, allocations: 4 kB / 389.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.005267, allocations: 235.5 kB / 389.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.005326, allocations: 27.91 kB / 389.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.00538, allocations: 31.86 kB / 389.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.005726, allocations: 315.1 kB / 389.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005727, allocations: 0 / 389.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005728, allocations: 0 / 389.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005733, allocations: 4 kB / 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.0004968/0.00623, allocations: 430.9 kB / 390.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.006268, allocations: 8.031 kB / 390.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.006297, allocations: 38.75 kB / 390.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.006333, allocations: 12.89 kB / 390.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.006534, allocations: 169.1 kB / 390.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.006546, allocations: 8.375 kB / 390.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.006558, allocations: 4.125 kB / 390.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.006728, allocations: 129 kB / 390.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.006734, allocations: 0 / 390.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.006743, allocations: 0 / 390.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006747, allocations: 0 / 390.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.006844, allocations: 89.66 kB / 390.7 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.007156, allocations: 288.7 kB / 391 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.007588, allocations: 115 kB / 391.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.007656, allocations: 83.38 kB / 391.2 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.00767, allocations: 4 kB / 391.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.00782, allocations: 168.5 kB / 391.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.007821, allocations: 0 / 391.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003241/0.008145, allocations: 294.8 kB / 391.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.008193, allocations: 114.8 kB / 391.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.008305, allocations: 174.3 kB / 391.9 MB, free: 5.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.008316, allocations: 29.7 kB / 391.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.008356, allocations: 99.98 kB / 392 MB, free: 5.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.008384, allocations: 31.69 kB / 392.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.008417, allocations: 29.7 kB / 392.1 MB, free: 5.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.008501, allocations: 322.8 kB / 392.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.008561, allocations: 65.69 kB / 392.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.008622, allocations: 87.33 kB / 392.6 MB, free: 4.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.008739, allocations: 153 kB / 392.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00874, allocations: 4 kB / 392.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001853/0.008925, allocations: 228.9 kB / 392.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.008952, allocations: 41.69 kB / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008957, allocations: 0 / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.008966, allocations: 0 / 393 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.009005, allocations: 15.98 kB / 393 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.009011, allocations: 7.875 kB / 393 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.009059, allocations: 11.95 kB / 393 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.009067, allocations: 4 kB / 393 MB, free: 4.297 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.184e-05/0.009149, allocations: 162.8 kB / 393.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.009167, allocations: 15.94 kB / 393.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.00919, allocations: 13.11 kB / 393.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009192, allocations: 0 / 393.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.009195, allocations: 0 / 393.2 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.009202, allocations: 11.92 kB / 393.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.009307, allocations: 172.6 kB / 393.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.009307, allocations: 0 / 393.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.009332, allocations: 11.98 kB / 393.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.009333, allocations: 4 kB / 393.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.009344, allocations: 8 kB / 393.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009345, allocations: 4 kB / 393.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.009346, allocations: 0 / 393.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.009587, allocations: 285.1 kB / 393.7 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.009611, allocations: 23.89 kB / 393.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.009632, allocations: 4 kB / 393.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.456e-05/0.009667, allocations: 8 kB / 393.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.009696, allocations: 11.92 kB / 393.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.009708, allocations: 4 kB / 393.7 MB, free: 3.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.009777, allocations: 130.4 kB / 393.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009777, allocations: 4 kB / 393.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.01001, 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.0009779/0.01099, allocations: 1.189 MB / 395.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.0112, allocations: 226.7 kB / 395.4 MB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.0112, allocations: 4 kB / 395.4 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.01129, allocations: 141 kB / 395.5 MB, free: 1.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.01145, allocations: 29.97 kB / 395.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.01298, allocations: 2.109 MB / 397.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.01304, allocations: 89.44 kB / 397.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.01308, 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 5.931e-05/0.01314, allocations: 52.45 kB / 397.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01314, allocations: 0 / 397.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.03219, allocations: 5.47 MB / 403.3 MB, free: 9.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.993, allocations: 7.438 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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.857397054322064] Failed to read output from testmodel.py, exit status != 0: 7.077709794975817 7.086963221 7.079443925 Calling exit ...