Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",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.005127/0.005127, allocations: 102.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.001351/0.001351, allocations: 195.7 kB / 16.67 MB, free: 5.98 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8373/0.8373, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.408, allocations: 80.2 MB / 0.6592 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002967/0.411, allocations: 1.667 MB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.413, allocations: 1.514 MB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.4131, allocations: 1.344 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.4134, allocations: 36.44 kB / 0.6623 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.4137, allocations: 66.22 kB / 0.6624 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.414, allocations: 120.8 kB / 0.6625 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.4143, allocations: 125 kB / 0.6626 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.4143, allocations: 6.859 kB / 0.6626 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.4145, allocations: 58.47 kB / 0.6627 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4147, allocations: 50.36 kB / 0.6627 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.4147, allocations: 7.062 kB / 0.6627 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.4149, allocations: 63.58 kB / 0.6628 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.4149, allocations: 22.95 kB / 0.6628 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.415, allocations: 45.31 kB / 0.6629 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.4153, allocations: 150.6 kB / 0.663 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4153, allocations: 1.312 kB / 0.663 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4153, allocations: 0 / 0.663 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4153, allocations: 0 / 0.663 GB, free: 7.223 MB / 0.4981 GB 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.0007247/0.4161, allocations: 448.1 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4161, allocations: 9.844 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4162, allocations: 33.17 kB / 0.6635 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.4162, allocations: 10.06 kB / 0.6635 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4166, allocations: 229.5 kB / 0.6637 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4166, allocations: 1.875 kB / 0.6637 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4167, allocations: 9.375 kB / 0.6637 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.4169, allocations: 96.95 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4169, allocations: 0 / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.417, allocations: 5.25 kB / 0.6638 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.417, allocations: 4.906 kB / 0.6638 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.4172, allocations: 47.98 kB / 0.6639 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.4174, allocations: 214 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4177, allocations: 117.2 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4178, allocations: 49.33 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4178, allocations: 5.125 kB / 0.6642 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.418, allocations: 116.4 kB / 0.6643 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.418, allocations: 1.156 kB / 0.6643 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004655/0.4185, allocations: 161.6 kB / 0.6645 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4186, allocations: 135.2 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4187, allocations: 177.3 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4187, allocations: 31.2 kB / 0.6648 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.4188, allocations: 100.1 kB / 0.6649 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.4188, allocations: 27.61 kB / 0.6649 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.4189, allocations: 21.28 kB / 0.665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.4189, allocations: 326.2 kB / 0.6653 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.419, allocations: 32.78 kB / 0.6653 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4191, allocations: 65.53 kB / 0.6654 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.4193, allocations: 99.64 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4193, allocations: 3.938 kB / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000276/0.4196, allocations: 128.1 kB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4196, allocations: 5.375 kB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4197, allocations: 5.141 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.4197, allocations: 1.031 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4198, allocations: 27.88 kB / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4198, allocations: 6.188 kB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.4199, allocations: 9.781 kB / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4199, allocations: 7.312 kB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.682e-05/0.42, allocations: 131.7 kB / 0.6658 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.42, allocations: 10.41 kB / 0.6658 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.4201, allocations: 18.83 kB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4201, allocations: 1.688 kB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4201, allocations: 1.312 kB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4201, allocations: 5.406 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.4202, allocations: 212.4 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4202, allocations: 1.562 kB / 0.666 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.4203, allocations: 13.92 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4203, allocations: 1.156 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4203, allocations: 2.219 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4204, allocations: 1.156 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4204, allocations: 5.031 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.4206, allocations: 171 kB / 0.6662 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.4207, allocations: 85.11 kB / 0.6663 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.4207, allocations: 2.656 kB / 0.6663 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.4208, allocations: 15.7 kB / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4209, allocations: 8.047 kB / 0.6663 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4209, allocations: 7.625 kB / 0.6663 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.305e-05/0.421, allocations: 135 kB / 0.6664 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.421, allocations: 0 / 0.6664 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002547/0.4212, allocations: 34.62 kB / 0.6665 GB, free: 4.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001337/0.4226, allocations: 1.05 MB / 0.6675 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.4229, allocations: 88.28 kB / 0.6676 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4229, allocations: 0 / 0.6676 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.423, allocations: 40.48 kB / 0.6676 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.4233, allocations: 36.31 kB / 0.6677 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.425, allocations: 1.699 MB / 0.6693 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4251, allocations: 0.7014 MB / 0.67 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.41e-05/0.4252, allocations: 28.53 kB / 0.67 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.4253, allocations: 45.66 kB / 0.6701 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4253, allocations: 0 / 0.6701 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.4457, allocations: 3.842 MB / 0.6738 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.659, allocations: 5.672 kB / 0.6738 GB, free: 14.87 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)