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.005333/0.005333, allocations: 96.7 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.001301/0.001301, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8675/0.8675, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 59.89 kB / 0.5809 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4325, allocations: 80.21 MB / 0.6592 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002852/0.4354, allocations: 1.666 MB / 0.6608 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.4374, allocations: 1.503 MB / 0.6623 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.4375, allocations: 1.281 kB / 0.6623 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.4378, allocations: 36.53 kB / 0.6623 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.438, allocations: 73.02 kB / 0.6624 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.4383, allocations: 116.4 kB / 0.6625 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.4385, allocations: 126.9 kB / 0.6626 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.4386, allocations: 11.92 kB / 0.6626 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4387, allocations: 56.98 kB / 0.6627 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.4389, allocations: 57.08 kB / 0.6627 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.4389, allocations: 6.531 kB / 0.6627 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.439, allocations: 68.23 kB / 0.6628 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.4391, allocations: 22.44 kB / 0.6628 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.4392, allocations: 49.81 kB / 0.6629 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.4394, allocations: 147.6 kB / 0.663 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4395, allocations: 0.7031 kB / 0.663 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4395, allocations: 0 / 0.663 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4395, allocations: 1.312 kB / 0.663 GB, free: 7.289 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.0005537/0.44, allocations: 442.2 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4401, allocations: 10.06 kB / 0.6635 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.4401, allocations: 40.52 kB / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4402, allocations: 15.05 kB / 0.6635 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4404, allocations: 225.3 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4404, allocations: 1.594 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.4405, allocations: 7.484 kB / 0.6637 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.4407, allocations: 100 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4407, allocations: 4 kB / 0.6638 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4407, allocations: 1 kB / 0.6638 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4408, allocations: 1.375 kB / 0.6638 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.4409, allocations: 54.7 kB / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.4411, allocations: 206.9 kB / 0.6641 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4414, allocations: 123.7 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4415, allocations: 44.78 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4415, allocations: 2.75 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4417, allocations: 116 kB / 0.6644 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.4418, allocations: 0 / 0.6644 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004549/0.4422, allocations: 166.4 kB / 0.6645 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4423, allocations: 133.7 kB / 0.6646 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4424, allocations: 177.5 kB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4424, allocations: 26.8 kB / 0.6648 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.4425, allocations: 100.9 kB / 0.6649 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4425, allocations: 24.34 kB / 0.665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.4426, allocations: 20.84 kB / 0.665 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.4426, allocations: 330.3 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.4427, allocations: 28.94 kB / 0.6653 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4428, allocations: 69.55 kB / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.443, allocations: 95.28 kB / 0.6655 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.443, allocations: 7.875 kB / 0.6655 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002705/0.4433, allocations: 136.3 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4433, allocations: 6 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4434, allocations: 1.344 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4434, allocations: 5.438 kB / 0.6656 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4435, allocations: 23.3 kB / 0.6656 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4435, allocations: 5.359 kB / 0.6657 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.4436, allocations: 17.67 kB / 0.6657 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4436, allocations: 3.969 kB / 0.6657 GB, free: 4.863 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.898e-05/0.4437, allocations: 122.9 kB / 0.6658 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.4437, allocations: 21.78 kB / 0.6658 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.4438, allocations: 22.58 kB / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4438, allocations: 1.156 kB / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4438, allocations: 1.312 kB / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4438, allocations: 1.281 kB / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4439, allocations: 205.1 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.444, allocations: 1.469 kB / 0.666 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.444, allocations: 14.11 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.444, allocations: 1.125 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4441, allocations: 2.719 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4441, allocations: 0 / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4441, allocations: 1.156 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.4444, allocations: 174.8 kB / 0.6662 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.4444, allocations: 93.22 kB / 0.6663 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.4444, allocations: 2.594 kB / 0.6663 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.4445, allocations: 8.156 kB / 0.6663 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4446, allocations: 11.61 kB / 0.6663 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4446, allocations: 4.031 kB / 0.6663 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001112/0.4447, allocations: 134.1 kB / 0.6665 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4447, allocations: 1.156 kB / 0.6665 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002564/0.445, allocations: 29.25 kB / 0.6665 GB, free: 4.105 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.001824/0.4468, allocations: 1.055 MB / 0.6675 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4471, allocations: 84.08 kB / 0.6676 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4471, allocations: 1.375 kB / 0.6676 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4472, allocations: 44.97 kB / 0.6676 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4475, allocations: 36.86 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.4493, allocations: 1.701 MB / 0.6693 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4494, allocations: 0.7045 MB / 0.67 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.403e-05/0.4495, allocations: 29.03 kB / 0.6701 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.4496, allocations: 41.59 kB / 0.6701 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4496, allocations: 0 / 0.6701 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4778, allocations: 3.842 MB / 0.6738 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.757, allocations: 8.312 kB / 0.6739 GB, free: 14.93 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)