Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_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.006379/0.006379, allocations: 99.56 kB / 15.73 MB, free: 6.047 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.001292/0.001292, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9492/0.9492, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.89 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4628, allocations: 80.91 MB / 0.6641 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003022/0.4659, allocations: 1.681 MB / 0.6658 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4676, allocations: 1.505 MB / 0.6673 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.4677, allocations: 1.125 kB / 0.6673 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.4681, allocations: 37.36 kB / 0.6673 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.4683, allocations: 66.31 kB / 0.6674 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.4686, allocations: 115.9 kB / 0.6675 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4688, allocations: 126.3 kB / 0.6676 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.4688, allocations: 10.22 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4689, allocations: 56.95 kB / 0.6676 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.4691, allocations: 53.73 kB / 0.6677 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4692, allocations: 5.781 kB / 0.6677 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.4693, allocations: 61.69 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.4693, allocations: 26.72 kB / 0.6678 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.4694, allocations: 45.86 kB / 0.6678 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.4696, allocations: 146 kB / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4696, allocations: 0 / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4696, allocations: 0 / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4696, allocations: 4 kB / 0.668 GB, free: 4.27 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.0005688/0.4702, allocations: 447.1 kB / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4702, allocations: 9.281 kB / 0.6684 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.4703, allocations: 40.02 kB / 0.6684 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.4703, allocations: 15.3 kB / 0.6685 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4706, allocations: 218.9 kB / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4706, allocations: 1.844 kB / 0.6687 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4706, allocations: 10.41 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4708, allocations: 100.4 kB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4709, allocations: 0 / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4709, allocations: 1.281 kB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4709, allocations: 1.219 kB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.471, allocations: 55.55 kB / 0.6688 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.4712, allocations: 209.6 kB / 0.669 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.4715, allocations: 118 kB / 0.6691 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4716, allocations: 48.73 kB / 0.6692 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4716, allocations: 6.359 kB / 0.6692 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.4718, allocations: 111.4 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4718, allocations: 1.25 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004847/0.4723, allocations: 157.8 kB / 0.6695 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4724, allocations: 130.8 kB / 0.6696 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4725, allocations: 180.5 kB / 0.6698 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.4725, allocations: 31.2 kB / 0.6698 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.4726, allocations: 108.5 kB / 0.6699 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.4726, allocations: 23.42 kB / 0.6699 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4726, allocations: 21.62 kB / 0.6699 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.4727, allocations: 321.8 kB / 0.6702 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.4728, allocations: 36.91 kB / 0.6703 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4729, allocations: 66.09 kB / 0.6703 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4731, allocations: 94.14 kB / 0.6704 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4731, allocations: 5.469 kB / 0.6704 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00026/0.4734, allocations: 134.9 kB / 0.6706 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4734, allocations: 6.25 kB / 0.6706 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4734, allocations: 1.469 kB / 0.6706 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4734, allocations: 5.141 kB / 0.6706 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4735, allocations: 28.02 kB / 0.6706 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4736, allocations: 1.688 kB / 0.6706 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.4736, allocations: 9.875 kB / 0.6706 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.4737, allocations: 6.812 kB / 0.6706 GB, free: 1.773 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.888e-05/0.4737, allocations: 125.5 kB / 0.6707 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.4738, allocations: 14.25 kB / 0.6707 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.4738, allocations: 22.77 kB / 0.6708 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4738, allocations: 1.25 kB / 0.6708 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4738, allocations: 1.406 kB / 0.6708 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4739, allocations: 1.125 kB / 0.6708 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.474, allocations: 209.4 kB / 0.671 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.474, allocations: 1.219 kB / 0.671 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.4741, allocations: 17.58 kB / 0.671 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4741, allocations: 1.312 kB / 0.671 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4741, allocations: 2.656 kB / 0.671 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4741, allocations: 5.594 kB / 0.671 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4741, allocations: 0 / 0.671 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.4744, allocations: 170.5 kB / 0.6712 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.4744, allocations: 85.08 kB / 0.6712 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4745, allocations: 2.406 kB / 0.6712 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.4745, allocations: 8.422 kB / 0.6713 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.4746, allocations: 12.89 kB / 0.6713 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4746, allocations: 2.969 kB / 0.6713 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.4747, allocations: 142.1 kB / 0.6714 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4747, allocations: 5.5 kB / 0.6714 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002434/0.475, allocations: 29.81 kB / 0.6714 GB, free: 1.016 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.001391/0.4764, allocations: 1.052 MB / 0.6725 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4767, allocations: 84.38 kB / 0.6725 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4767, allocations: 4.188 kB / 0.6726 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4768, allocations: 44.42 kB / 0.6726 GB, free: 176 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.4771, allocations: 28.7 kB / 0.6726 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.4792, allocations: 1.703 MB / 0.6743 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.4794, allocations: 0.7092 MB / 0.675 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.689e-05/0.4795, allocations: 24.05 kB / 0.675 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.4796, allocations: 37.61 kB / 0.675 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.4796, allocations: 0 / 0.675 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.5016, allocations: 3.882 MB / 0.6788 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.816, allocations: 7.594 kB / 0.6788 GB, free: 11.76 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)