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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005151/0.005151, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001139/0.001139, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01304/0.01304, allocations: 2.957 MB / 293.5 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 405.8 MB, free: 29.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08611, allocations: 50.33 MB / 456.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002932/0.08909, allocations: 1.665 MB / 457.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.09158, allocations: 1.709 MB / 459.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.09167, allocations: 7.938 kB / 459.5 MB, free: 7.473 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:221:3-248:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.09202, allocations: 51.75 kB / 459.5 MB, free: 7.422 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:139:5-159:22:writable] Warning: Pure function 'ExternData.Examples.XLSXTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.09257, allocations: 171.3 kB / 459.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.09283, allocations: 79.78 kB / 459.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.09299, allocations: 91.72 kB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.09309, allocations: 19.02 kB / 459.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.09318, allocations: 39.86 kB / 459.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.09335, allocations: 47.77 kB / 460 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.09339, allocations: 7.938 kB / 460 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.09379, allocations: 267.6 kB / 460.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.09387, allocations: 19.92 kB / 460.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.09394, allocations: 43.73 kB / 460.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.09439, allocations: 303.3 kB / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.0944, allocations: 0 / 460.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09441, allocations: 4 kB / 460.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09442, allocations: 0 / 460.6 MB, free: 6.348 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.0006342/0.09506, allocations: 0.4936 MB / 461.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.09511, allocations: 11.89 kB / 461.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.09515, allocations: 34.75 kB / 461.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.0952, allocations: 16.75 kB / 461.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.09549, allocations: 212.2 kB / 461.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.09551, allocations: 384 / 461.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.09553, allocations: 7.938 kB / 461.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.09573, allocations: 107.3 kB / 461.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.09575, allocations: 0 / 461.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.09576, allocations: 3.984 kB / 461.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.09577, allocations: 0 / 461.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.09591, allocations: 51.97 kB / 461.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.09636, allocations: 321.6 kB / 461.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.0966, allocations: 101.3 kB / 461.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.09672, allocations: 61.81 kB / 462 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.09674, allocations: 3.938 kB / 462 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.09695, allocations: 138.8 kB / 462.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.09696, allocations: 0 / 462.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004698/0.09743, allocations: 227.2 kB / 462.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.09752, allocations: 106.8 kB / 462.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.09769, allocations: 184 kB / 462.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.09772, allocations: 25.7 kB / 462.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.09778, allocations: 104.1 kB / 462.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.09782, allocations: 19.72 kB / 462.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.09789, allocations: 33.7 kB / 462.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09801, allocations: 318.8 kB / 463.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.0981, allocations: 35.98 kB / 463.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.0982, allocations: 57.62 kB / 463.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.0984, allocations: 152.9 kB / 463.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.09841, allocations: 0 / 463.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002967/0.09871, allocations: 187.2 kB / 463.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.09876, allocations: 37.69 kB / 463.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09877, allocations: 0 / 463.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.09879, allocations: 4 kB / 463.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.09885, allocations: 11.98 kB / 463.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.09887, allocations: 3.938 kB / 463.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.09895, allocations: 19.84 kB / 463.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.09897, allocations: 7.938 kB / 463.6 MB, free: 2.973 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.0001333/0.09911, allocations: 166.2 kB / 463.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.09915, allocations: 11.91 kB / 463.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.09918, allocations: 12.7 kB / 463.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.09919, allocations: 4 kB / 463.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.0992, allocations: 3.938 kB / 463.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.09921, allocations: 4 kB / 463.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.09938, allocations: 205.6 kB / 464 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.09939, allocations: 3.984 kB / 464 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.09945, allocations: 12 kB / 464.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.09945, allocations: 0 / 464.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.09948, allocations: 4 kB / 464.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.09948, allocations: 3.938 kB / 464.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.09949, allocations: 3.938 kB / 464.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.09986, allocations: 247.4 kB / 464.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.09993, allocations: 100.9 kB / 464.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.09997, allocations: 7.984 kB / 464.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1, allocations: 4 kB / 464.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.1001, allocations: 12.27 kB / 464.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1001, allocations: 7.984 kB / 464.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1002, allocations: 130.1 kB / 464.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1002, allocations: 0 / 464.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1006, allocations: 91.98 kB / 464.7 MB, free: 1.852 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.002693/0.1033, allocations: 1.277 MB / 465.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1036, allocations: 195.3 kB / 466.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1036, allocations: 0 / 466.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1038, allocations: 139.3 kB / 466.3 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.104, allocations: 19.92 kB / 466.3 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1063, allocations: 1.924 MB / 468.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1067, allocations: 0.7039 MB / 468.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.1067, allocations: 12.42 kB / 468.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.1068, allocations: 43.41 kB / 469 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1068, allocations: 0 / 469 MB, free: 13.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1327, allocations: 5.014 MB / 474 MB, free: 8.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.775, allocations: 7.984 kB / 474 MB, free: 8.477 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1)