Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001197, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1401/0.1401, allocations: 2.934 MB / 292.9 MB, free: 3.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 354.1 MB, free: 4.152 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0761/0.07734, allocations: 50.34 MB / 404.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002478/0.07984, allocations: 1.562 MB / 406 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.08145, allocations: 1.272 MB / 407.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.08152, allocations: 4 kB / 407.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.08179, allocations: 39.83 kB / 407.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.08189, allocations: 23.94 kB / 407.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.08212, allocations: 63.86 kB / 407.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.08221, allocations: 59.78 kB / 407.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.08225, allocations: 7.984 kB / 407.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.08231, allocations: 27.86 kB / 407.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.08246, allocations: 27.84 kB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.08248, allocations: 4 kB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.08264, allocations: 91.86 kB / 407.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.0827, allocations: 19.91 kB / 407.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.08276, allocations: 31.8 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.08296, allocations: 135.9 kB / 407.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.08297, allocations: 0 / 407.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08299, allocations: 4 kB / 407.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.083, allocations: 4 kB / 407.8 MB, free: 14.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004557/0.08346, allocations: 424.9 kB / 408.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.0835, allocations: 8.031 kB / 408.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.08354, allocations: 38.73 kB / 408.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.08358, allocations: 8.844 kB / 408.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.08376, allocations: 204 kB / 408.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.08378, allocations: 384 / 408.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.0838, allocations: 4.375 kB / 408.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.08392, allocations: 65.8 kB / 408.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.08393, allocations: 0 / 408.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.08395, allocations: 4 kB / 408.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.08396, allocations: 0 / 408.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.08402, allocations: 31.98 kB / 408.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.0842, allocations: 177.6 kB / 408.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.08429, allocations: 54.5 kB / 408.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.08436, allocations: 44.89 kB / 408.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.08437, allocations: 3.984 kB / 408.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.08455, allocations: 113 kB / 409 MB, free: 13.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.08456, allocations: 0 / 409 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003057/0.08487, allocations: 191.3 kB / 409.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.08493, allocations: 81.11 kB / 409.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.08506, allocations: 155.4 kB / 409.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.08508, allocations: 29.64 kB / 409.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.08513, allocations: 96.14 kB / 409.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.08517, allocations: 19.75 kB / 409.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.08521, allocations: 25.7 kB / 409.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.08531, allocations: 322.8 kB / 409.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.08536, allocations: 27.98 kB / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.08541, allocations: 24 kB / 409.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.08552, allocations: 128.2 kB / 410 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.08553, allocations: 4 kB / 410 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001916/0.08573, allocations: 163.2 kB / 410.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.08577, allocations: 37.69 kB / 410.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.08578, allocations: 0 / 410.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.08579, allocations: 0 / 410.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.08585, allocations: 4 kB / 410.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.08586, allocations: 0 / 410.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.08593, allocations: 11.91 kB / 410.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.08594, allocations: 7.938 kB / 410.3 MB, free: 11.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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.0001035/0.08605, allocations: 151.5 kB / 410.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.08609, allocations: 19.84 kB / 410.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.08611, allocations: 12.7 kB / 410.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.08612, allocations: 0 / 410.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.08613, allocations: 4 kB / 410.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.08613, allocations: 0 / 410.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.08627, allocations: 189.6 kB / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08628, allocations: 0 / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.0863, allocations: 0 / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.08631, allocations: 7.984 kB / 410.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.08633, allocations: 3.984 kB / 410.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.08633, allocations: 4 kB / 410.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.08634, allocations: 0 / 410.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.0866, allocations: 218.6 kB / 410.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.08666, allocations: 96.88 kB / 411 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.0867, allocations: 4 kB / 411 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.08675, allocations: 0 / 411 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.08679, allocations: 8 kB / 411 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.0868, allocations: 4 kB / 411 MB, free: 10.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.522e-05/0.0869, allocations: 125 kB / 411.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08691, allocations: 0 / 411.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.08714, allocations: 39.98 kB / 411.1 MB, free: 10.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.0008534/0.088, allocations: 0.8778 MB / 412 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.08823, allocations: 175.3 kB / 412.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08824, allocations: 4 kB / 412.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.08834, allocations: 115.4 kB / 412.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.08852, allocations: 15.98 kB / 412.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.09014, allocations: 1.697 MB / 414 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.09046, allocations: 0.6926 MB / 414.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.0905, allocations: 11.98 kB / 414.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.09055, allocations: 23.44 kB / 414.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09056, allocations: 0 / 414.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1137, allocations: 2.745 MB / 417.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.1139, allocations: 214.7 kB / 417.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.735, allocations: 0 / 417.7 MB, free: 4.004 MB / 350.1 MB (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_CSVTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1)