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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005814/0.005814, allocations: 103 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 190 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1278/0.1278, allocations: 2.928 MB / 293.5 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 63.89 kB / 405.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2831, allocations: 50.33 MB / 456.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002392/0.2856, allocations: 1.672 MB / 457.8 MB, free: 26.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.2874, allocations: 1.715 MB / 459.5 MB, free: 25.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.2875, allocations: 3.938 kB / 459.5 MB, free: 25.62 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0003426/0.2879, allocations: 46.27 kB / 459.5 MB, free: 25.6 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.000409/0.2883, allocations: 183.2 kB / 459.7 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2885, allocations: 86.67 kB / 459.8 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2886, allocations: 89.39 kB / 459.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.2887, allocations: 15.44 kB / 459.9 MB, free: 25.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.2888, allocations: 45.95 kB / 459.9 MB, free: 25.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2889, allocations: 41.55 kB / 460 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.289, allocations: 10.47 kB / 460 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.2893, allocations: 272.6 kB / 460.3 MB, free: 25.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.2893, allocations: 25.47 kB / 460.3 MB, free: 25.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.2894, allocations: 43.73 kB / 460.3 MB, free: 25.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.2898, allocations: 313.6 kB / 460.6 MB, free: 25.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2898, allocations: 0 / 460.6 MB, free: 25.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2898, allocations: 0 / 460.6 MB, free: 25.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2898, allocations: 0 / 460.6 MB, free: 25.13 MB / 366.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.000617/0.2905, allocations: 0.4925 MB / 461.1 MB, free: 24.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2905, allocations: 16.86 kB / 461.1 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2906, allocations: 33.72 kB / 461.2 MB, free: 24.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.2906, allocations: 14.91 kB / 461.2 MB, free: 24.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.2909, allocations: 225.8 kB / 461.4 MB, free: 24.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2909, allocations: 2.969 kB / 461.4 MB, free: 24.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2909, allocations: 10.94 kB / 461.4 MB, free: 24.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2912, allocations: 99.34 kB / 461.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2912, allocations: 4 kB / 461.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2912, allocations: 3.125 kB / 461.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2912, allocations: 0 / 461.5 MB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2913, allocations: 50.16 kB / 461.6 MB, free: 24.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.2917, allocations: 322.8 kB / 461.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.2919, allocations: 104.5 kB / 462 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.292, allocations: 61.28 kB / 462.1 MB, free: 23.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.2921, allocations: 0 / 462.1 MB, free: 23.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.2923, allocations: 143.3 kB / 462.2 MB, free: 23.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.2923, allocations: 0 / 462.2 MB, free: 23.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004162/0.2927, allocations: 237.9 kB / 462.4 MB, free: 23.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2927, allocations: 113.2 kB / 462.5 MB, free: 23.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2929, allocations: 174.4 kB / 462.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2929, allocations: 25.7 kB / 462.7 MB, free: 23.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.293, allocations: 95.39 kB / 462.8 MB, free: 23.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.293, allocations: 33 kB / 462.9 MB, free: 23.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2931, allocations: 30.61 kB / 462.9 MB, free: 23.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.2931, allocations: 321.2 kB / 463.2 MB, free: 22.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.2932, allocations: 32.88 kB / 463.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.2933, allocations: 50.67 kB / 463.3 MB, free: 22.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2934, allocations: 154 kB / 463.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2935, allocations: 0 / 463.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00025/0.2937, allocations: 197.6 kB / 463.6 MB, free: 22.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.2938, allocations: 35.34 kB / 463.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2938, allocations: 0 / 463.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2938, allocations: 11.06 kB / 463.7 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.2939, allocations: 12.94 kB / 463.7 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2939, allocations: 0 / 463.7 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.2939, allocations: 9.578 kB / 463.7 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.294, allocations: 3.156 kB / 463.7 MB, free: 22.59 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 8.302e-05/0.294, allocations: 164.6 kB / 463.9 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.2941, allocations: 13.28 kB / 463.9 MB, free: 22.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.2941, allocations: 19.31 kB / 463.9 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2941, allocations: 0 / 463.9 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2941, allocations: 3.031 kB / 463.9 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2941, allocations: 0 / 463.9 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2943, allocations: 215.4 kB / 464.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2943, allocations: 4 kB / 464.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.2943, allocations: 9 kB / 464.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2943, allocations: 0 / 464.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2944, allocations: 10.94 kB / 464.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2944, allocations: 6.375 kB / 464.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2944, allocations: 0 / 464.1 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.2947, allocations: 247.1 kB / 464.4 MB, free: 22.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.2947, allocations: 90.61 kB / 464.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2947, allocations: 10.41 kB / 464.5 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.2948, allocations: 9.812 kB / 464.5 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2949, allocations: 6.422 kB / 464.5 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2949, allocations: 5.688 kB / 464.5 MB, free: 21.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.757e-05/0.295, allocations: 139.4 kB / 464.6 MB, free: 21.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.295, allocations: 0 / 464.6 MB, free: 21.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.2953, allocations: 99.66 kB / 464.7 MB, free: 21.8 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.001273/0.2966, allocations: 1.149 MB / 465.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.2969, allocations: 183.4 kB / 466.1 MB, free: 20.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2969, allocations: 4 kB / 466.1 MB, free: 20.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.297, allocations: 135.4 kB / 466.2 MB, free: 20.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2973, allocations: 20.95 kB / 466.2 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.2991, allocations: 1.935 MB / 468.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.2992, allocations: 0.7016 MB / 468.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.2993, allocations: 19.45 kB / 468.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.2993, allocations: 39.83 kB / 468.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2994, allocations: 0 / 468.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.3194, allocations: 4.94 MB / 473.9 MB, free: 17.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.033, allocations: 0 / 473.9 MB, free: 17.73 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)