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.001763/0.001763, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002337/0.002337, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.01704/0.01704, allocations: 3.283 MB / 316.5 MB, free: 15.62 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: "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="cs",version="2.0",platforms={"static"}) [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.001996/0.001996, allocations: 67.84 kB / 440.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 54.38 MB / 494.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003519/0.1138, allocations: 1.659 MB / 496.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1168, allocations: 1.757 MB / 498.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.1169, allocations: 0 / 498.1 MB, free: 2.047 MB / 350.1 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.0003922/0.1173, allocations: 51.77 kB / 498.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.118, allocations: 167.3 kB / 498.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1183, allocations: 91.72 kB / 498.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1185, allocations: 91.77 kB / 498.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.1185, allocations: 7.984 kB / 498.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1187, allocations: 51.73 kB / 498.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1188, allocations: 43.77 kB / 498.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1188, allocations: 8 kB / 498.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.1193, allocations: 231.7 kB / 498.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.1194, allocations: 23.92 kB / 498.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.1195, allocations: 35.8 kB / 498.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006809/0.1202, allocations: 283.1 kB / 499.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1202, allocations: 0 / 499.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1202, allocations: 0 / 499.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.1202, allocations: 0 / 499.1 MB, free: 0.9805 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.0008652/0.1211, allocations: 426.9 kB / 499.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1211, allocations: 8.031 kB / 499.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.529e-05/0.1212, allocations: 4.188 kB / 499.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1212, allocations: 38.75 kB / 499.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.1213, allocations: 16.84 kB / 499.6 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1216, allocations: 169.2 kB / 499.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1217, allocations: 8 kB / 499.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1217, allocations: 0 / 499.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1219, allocations: 129 kB / 499.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1219, allocations: 0 / 499.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.122, allocations: 0 / 499.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.122, allocations: 0 / 499.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1222, allocations: 93.59 kB / 0.4883 GB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1227, allocations: 276.8 kB / 0.4886 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1229, allocations: 126.9 kB / 0.4887 GB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1231, allocations: 79.44 kB / 0.4888 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1231, allocations: 0 / 0.4888 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1234, allocations: 168.4 kB / 0.4889 GB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1234, allocations: 0 / 0.4889 GB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005833/0.1239, allocations: 302.7 kB / 0.4892 GB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.124, allocations: 114.8 kB / 0.4893 GB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1242, allocations: 162.4 kB / 0.4895 GB, free: 14.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1243, allocations: 33.7 kB / 0.4895 GB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.1243, allocations: 100.1 kB / 0.4896 GB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1244, allocations: 27.89 kB / 0.4896 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.1244, allocations: 29.7 kB / 0.4897 GB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1246, allocations: 322.8 kB / 0.49 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1247, allocations: 65.69 kB / 0.49 GB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1248, allocations: 83.39 kB / 0.4901 GB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.125, allocations: 168.9 kB / 0.4903 GB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.125, allocations: 0 / 0.4903 GB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003974/0.1254, allocations: 236.9 kB / 0.4905 GB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.1255, allocations: 33.7 kB / 0.4905 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1255, allocations: 3.938 kB / 0.4905 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1255, allocations: 3.984 kB / 0.4905 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1256, allocations: 12 kB / 0.4905 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1256, allocations: 0 / 0.4905 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1257, allocations: 4 kB / 0.4906 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1257, allocations: 11.98 kB / 0.4906 GB, free: 13.43 MB / 366.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.00014/0.1258, allocations: 155.5 kB / 0.4907 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.1259, allocations: 19.91 kB / 0.4907 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.1259, allocations: 12.66 kB / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1259, allocations: 4 kB / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1259, allocations: 0 / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1259, allocations: 0 / 0.4907 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1261, allocations: 168.7 kB / 0.4909 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1261, allocations: 0 / 0.4909 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.1261, allocations: 15.92 kB / 0.4909 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1261, allocations: 0 / 0.4909 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1262, allocations: 11.94 kB / 0.4909 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1262, allocations: 0 / 0.4909 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1262, allocations: 4 kB / 0.4909 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1266, allocations: 293.2 kB / 0.4912 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.1266, allocations: 15.94 kB / 0.4912 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1267, allocations: 7.938 kB / 0.4912 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1267, allocations: 4 kB / 0.4912 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1268, allocations: 7.984 kB / 0.4912 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1268, allocations: 11.94 kB / 0.4913 GB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1269, allocations: 124.8 kB / 0.4914 GB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1269, allocations: 3.938 kB / 0.4914 GB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1273, allocations: 99.66 kB / 0.4915 GB, free: 12.4 MB / 366.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.001995/0.1293, allocations: 1.171 MB / 0.4926 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.1296, allocations: 234.7 kB / 0.4928 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1296, allocations: 0 / 0.4928 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1298, allocations: 149 kB / 0.493 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1301, allocations: 12 kB / 0.493 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.1327, allocations: 2.102 MB / 0.4951 GB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.1328, allocations: 89.31 kB / 0.4951 GB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.1329, allocations: 28.39 kB / 0.4952 GB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.1329, allocations: 35.42 kB / 0.4952 GB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1329, allocations: 0 / 0.4952 GB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.1611, allocations: 5.001 MB / 0.5001 GB, free: 3.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.43, allocations: 8 kB / 0.5001 GB, free: 3.52 MB / 366.1 MB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 14.136095475987531] Failed to read output from testmodel.py, exit status != 0: 11.600523956003599 11.621080739 11.497773693 Calling exit ...