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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.007922/0.007922, allocations: 99.23 kB / 15.73 MB, free: 5.602 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.002009/0.002009, allocations: 190.5 kB / 16.68 MB, free: 5.523 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01356/0.01356, allocations: 2.958 MB / 293.5 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63.91 kB / 405.8 MB, free: 29.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.0869, allocations: 50.33 MB / 456.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003366/0.09031, allocations: 1.673 MB / 457.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.09308, allocations: 1.716 MB / 459.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.09317, allocations: 4 kB / 459.5 MB, free: 7.48 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0003714/0.09355, allocations: 55.7 kB / 459.6 MB, free: 7.426 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0005051/0.09406, allocations: 175.2 kB / 459.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.09431, allocations: 83.77 kB / 459.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.09446, allocations: 91.77 kB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.09456, allocations: 12.28 kB / 459.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.09464, allocations: 47.78 kB / 460 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.09482, allocations: 39.78 kB / 460 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.09485, allocations: 8 kB / 460 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.09531, allocations: 275.6 kB / 460.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.09539, allocations: 19.92 kB / 460.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.09547, allocations: 43.78 kB / 460.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.09597, allocations: 323 kB / 460.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.09598, allocations: 0 / 460.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09599, allocations: 0 / 460.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.096, allocations: 4 kB / 460.7 MB, free: 6.324 MB / 334.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.0007864/0.0968, allocations: 0.4921 MB / 461.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.09685, allocations: 11.89 kB / 461.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.09689, allocations: 42.69 kB / 461.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.09695, allocations: 12.84 kB / 461.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.09732, allocations: 226.5 kB / 461.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.09735, allocations: 4 kB / 461.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.09737, allocations: 7.984 kB / 461.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.0976, allocations: 95.38 kB / 461.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.09762, allocations: 0 / 461.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.09764, allocations: 7.938 kB / 461.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09765, allocations: 3.984 kB / 461.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.09779, allocations: 47.97 kB / 461.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.09825, allocations: 325.7 kB / 461.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.09853, allocations: 97.12 kB / 462 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.09866, allocations: 61.83 kB / 462.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.09868, allocations: 0 / 462.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.09892, allocations: 146.7 kB / 462.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.09894, allocations: 0 / 462.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005048/0.09945, allocations: 235.3 kB / 462.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.09954, allocations: 110.7 kB / 462.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.09974, allocations: 181 kB / 462.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.09978, allocations: 29.7 kB / 462.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.09986, allocations: 100.1 kB / 462.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.0999, allocations: 27.8 kB / 462.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.09996, allocations: 21.72 kB / 462.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1002, allocations: 322.8 kB / 463.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.1003, allocations: 39.98 kB / 463.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.1004, allocations: 49.69 kB / 463.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1006, allocations: 156.9 kB / 463.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1006, allocations: 0 / 463.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003384/0.101, allocations: 191.2 kB / 463.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.101, allocations: 37.7 kB / 463.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1011, allocations: 0 / 463.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1011, allocations: 3.938 kB / 463.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.1012, allocations: 15.98 kB / 463.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1012, allocations: 0 / 463.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.1013, allocations: 15.88 kB / 463.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1013, allocations: 4 kB / 463.7 MB, free: 2.922 MB / 334.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.0001749/0.1015, allocations: 166 kB / 463.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.1015, allocations: 15.91 kB / 463.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1016, allocations: 16.66 kB / 463.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1016, allocations: 7.938 kB / 463.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1016, allocations: 0 / 463.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1016, allocations: 0 / 463.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1018, allocations: 209.6 kB / 464.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1018, allocations: 8 kB / 464.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.1019, allocations: 15.92 kB / 464.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1019, allocations: 0 / 464.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.1019, allocations: 11.94 kB / 464.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1019, allocations: 0 / 464.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1019, allocations: 0 / 464.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1024, allocations: 243.9 kB / 464.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.1025, allocations: 101 kB / 464.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.1025, allocations: 7.875 kB / 464.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.1026, allocations: 15.92 kB / 464.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1027, allocations: 11.98 kB / 464.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1027, allocations: 4 kB / 464.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1028, allocations: 131.2 kB / 464.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1028, allocations: 4 kB / 464.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.1033, allocations: 91.67 kB / 464.8 MB, free: 1.773 MB / 334.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.002094/0.1054, allocations: 1.134 MB / 465.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1058, allocations: 191.3 kB / 466.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1058, allocations: 0 / 466.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.106, allocations: 143.2 kB / 466.2 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1062, allocations: 19.98 kB / 466.2 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.1088, allocations: 1.937 MB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1092, allocations: 0.7045 MB / 468.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.1093, allocations: 32.38 kB / 468.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.1094, allocations: 39.41 kB / 468.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1094, allocations: 0 / 468.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.1433, allocations: 4.865 MB / 473.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.497, allocations: 3.375 kB / 473.8 MB, free: 8.664 MB / 350.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)