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.005399/0.005399, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001277/0.001277, allocations: 190.5 kB / 16.67 MB, free: 5.93 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 72.05 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4019, allocations: 80.21 MB / 0.6592 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002783/0.4048, allocations: 1.675 MB / 0.6608 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.4067, allocations: 1.502 MB / 0.6623 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.4068, allocations: 5.125 kB / 0.6623 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.4071, allocations: 40.45 kB / 0.6623 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.4073, allocations: 65.22 kB / 0.6624 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.4076, allocations: 114.5 kB / 0.6625 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.4078, allocations: 131.8 kB / 0.6626 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.4079, allocations: 8.156 kB / 0.6626 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.408, allocations: 56.67 kB / 0.6627 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.4089, allocations: 51.06 kB / 0.6627 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.4089, allocations: 6.875 kB / 0.6627 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.4091, allocations: 61.11 kB / 0.6628 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.4092, allocations: 24.55 kB / 0.6628 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.4092, allocations: 51.05 kB / 0.6629 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.4095, allocations: 143.8 kB / 0.663 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4095, allocations: 0.75 kB / 0.663 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4095, allocations: 1.625 kB / 0.663 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4095, allocations: 0 / 0.663 GB, free: 7.395 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.000588/0.4101, allocations: 441.8 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4102, allocations: 10.22 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.4102, allocations: 37.31 kB / 0.6635 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.4103, allocations: 13.88 kB / 0.6635 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.4105, allocations: 238.1 kB / 0.6637 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4105, allocations: 1.656 kB / 0.6637 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.4105, allocations: 6.906 kB / 0.6637 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.4108, allocations: 95.56 kB / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4108, allocations: 0 / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4108, allocations: 5.734 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4108, allocations: 1.281 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.411, allocations: 51.72 kB / 0.6639 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.4112, allocations: 211.2 kB / 0.6641 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4114, allocations: 123 kB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4116, allocations: 47.95 kB / 0.6642 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4116, allocations: 6.469 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.4118, allocations: 112.2 kB / 0.6644 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4118, allocations: 0 / 0.6644 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.4123, allocations: 170.1 kB / 0.6645 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4123, allocations: 134.1 kB / 0.6646 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.4125, allocations: 177.5 kB / 0.6648 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.4125, allocations: 31.17 kB / 0.6648 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.4126, allocations: 105.9 kB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4126, allocations: 14.08 kB / 0.665 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.4126, allocations: 29.08 kB / 0.665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.4127, allocations: 322.8 kB / 0.6653 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4128, allocations: 33.27 kB / 0.6653 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4129, allocations: 61.67 kB / 0.6654 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.4131, allocations: 97.91 kB / 0.6655 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4131, allocations: 5.062 kB / 0.6655 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002695/0.4134, allocations: 136 kB / 0.6656 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4134, allocations: 8.844 kB / 0.6656 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4134, allocations: 1.406 kB / 0.6656 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4135, allocations: 1.312 kB / 0.6656 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4136, allocations: 23.89 kB / 0.6656 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4136, allocations: 2.375 kB / 0.6656 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.4137, allocations: 14.23 kB / 0.6657 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4137, allocations: 2.688 kB / 0.6657 GB, free: 4.988 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.082e-05/0.4138, allocations: 130 kB / 0.6658 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.4138, allocations: 18.52 kB / 0.6658 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.4139, allocations: 14.78 kB / 0.6658 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4139, allocations: 1.531 kB / 0.6658 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4139, allocations: 5.719 kB / 0.6658 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4139, allocations: 0 / 0.6658 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.414, allocations: 206.3 kB / 0.666 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.414, allocations: 4 kB / 0.666 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.4141, allocations: 15.2 kB / 0.666 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.4141, allocations: 1.531 kB / 0.666 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4141, allocations: 1.25 kB / 0.666 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4141, allocations: 5.422 kB / 0.666 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4142, allocations: 1.5 kB / 0.6661 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.4145, allocations: 174.4 kB / 0.6662 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.4145, allocations: 83.88 kB / 0.6663 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.4145, allocations: 6.438 kB / 0.6663 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4146, allocations: 9.828 kB / 0.6663 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.4147, allocations: 7.75 kB / 0.6663 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4147, allocations: 11.98 kB / 0.6663 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.639e-05/0.4148, allocations: 129.8 kB / 0.6665 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4148, allocations: 0 / 0.6665 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000253/0.415, allocations: 38.11 kB / 0.6665 GB, free: 4.219 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.001904/0.4169, allocations: 1.049 MB / 0.6675 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.4173, allocations: 82.83 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4173, allocations: 1.438 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4174, allocations: 45.03 kB / 0.6676 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.4177, allocations: 32.73 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4194, allocations: 1.7 MB / 0.6693 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.4196, allocations: 0.7011 MB / 0.67 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.833e-05/0.4197, allocations: 29.28 kB / 0.67 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.4197, allocations: 48.77 kB / 0.6701 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.4197, allocations: 0 / 0.6701 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.4466, allocations: 3.849 MB / 0.6738 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.396, allocations: 1.75 kB / 0.6739 GB, free: 15.05 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)