Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_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.002091/0.002092, allocations: 106.1 kB / 16.4 MB, free: 6.488 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.002131/0.002131, allocations: 199.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.385/2.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.262/1.262, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.81 kB / 0.5572 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 76.17 MB / 0.6316 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.005251/0.2706, allocations: 1.669 MB / 0.6332 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.2745, allocations: 1.506 MB / 0.6347 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2747, allocations: 4 kB / 0.6347 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.2753, allocations: 39.77 kB / 0.6347 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.2758, allocations: 71.62 kB / 0.6348 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.2764, allocations: 111.6 kB / 0.6349 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.2767, allocations: 127.6 kB / 0.635 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.2768, allocations: 9.125 kB / 0.635 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.2771, allocations: 59.64 kB / 0.6351 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.2774, allocations: 51.77 kB / 0.6351 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.2774, allocations: 11.98 kB / 0.6351 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.2777, allocations: 59.98 kB / 0.6352 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.2777, allocations: 15.92 kB / 0.6352 GB, free: 1.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2779, allocations: 55.66 kB / 0.6353 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.2783, allocations: 146.4 kB / 0.6354 GB, free: 1.102 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.2783, allocations: 4 kB / 0.6354 GB, free: 1.098 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2784, allocations: 0 / 0.6354 GB, free: 1.098 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2784, allocations: 0 / 0.6354 GB, free: 1.098 MB / 478.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.00104/0.2794, allocations: 435.8 kB / 0.6358 GB, free: 0.625 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.2795, allocations: 11.97 kB / 0.6358 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.2796, allocations: 34.75 kB / 0.6359 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.2797, allocations: 12.75 kB / 0.6359 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.2803, allocations: 232.4 kB / 0.6361 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2804, allocations: 12.36 kB / 0.6361 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.2804, allocations: 3.938 kB / 0.6361 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.2808, allocations: 97.03 kB / 0.6362 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2808, allocations: 0 / 0.6362 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2809, allocations: 4 kB / 0.6362 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2809, allocations: 7.984 kB / 0.6362 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.2811, allocations: 47.91 kB / 0.6363 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.2816, allocations: 203.5 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.282, allocations: 123.7 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2822, allocations: 50.61 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.2823, allocations: 0 / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.2827, allocations: 117.9 kB / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.2827, allocations: 0 / 0.6367 GB, free: 15.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007878/0.2835, allocations: 157.4 kB / 0.6369 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.2836, allocations: 140.7 kB / 0.637 GB, free: 15.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.2839, allocations: 170.4 kB / 0.6372 GB, free: 15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.284, allocations: 33.7 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2841, allocations: 100.1 kB / 0.6373 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.2842, allocations: 27.64 kB / 0.6373 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.2843, allocations: 25.72 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.2845, allocations: 326.8 kB / 0.6377 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2846, allocations: 36.22 kB / 0.6377 GB, free: 14.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2848, allocations: 64.27 kB / 0.6378 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.2852, allocations: 95.38 kB / 0.6379 GB, free: 14.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.2852, allocations: 3.938 kB / 0.6379 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004592/0.2857, allocations: 133.4 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2857, allocations: 4 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2858, allocations: 0 / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.2858, allocations: 4 kB / 0.638 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.286, allocations: 28.08 kB / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.286, allocations: 0 / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.2862, allocations: 11.91 kB / 0.638 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2862, allocations: 8.172 kB / 0.6381 GB, free: 14.06 MB / 494.1 MB 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 0.0001926/0.2864, allocations: 127.7 kB / 0.6382 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2865, allocations: 11.84 kB / 0.6382 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/0.2866, allocations: 21.33 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2866, allocations: 4 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2866, allocations: 0 / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2866, allocations: 7.938 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.2869, allocations: 205.5 kB / 0.6384 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.287, allocations: 0 / 0.6384 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2871, allocations: 15.98 kB / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2871, allocations: 0 / 0.6384 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2871, allocations: 8 kB / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2871, allocations: 0 / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2871, allocations: 0 / 0.6384 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.2877, allocations: 178.6 kB / 0.6386 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2878, allocations: 88.86 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.2878, allocations: 7.984 kB / 0.6387 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.288, allocations: 8 kB / 0.6387 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.288, allocations: 7.984 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.2881, allocations: 8 kB / 0.6387 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.2883, allocations: 132.2 kB / 0.6388 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2883, allocations: 4 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.2888, allocations: 28 kB / 0.6389 GB, free: 13.11 MB / 494.1 MB 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.002675/0.2915, allocations: 1.057 MB / 0.6399 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.292, allocations: 87.89 kB / 0.64 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2921, allocations: 0 / 0.64 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.2923, allocations: 43.91 kB / 0.64 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2928, allocations: 36.52 kB / 0.6401 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.2967, allocations: 1.678 MB / 0.6417 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.2972, allocations: 0.7002 MB / 0.6424 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.2974, allocations: 20.48 kB / 0.6424 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.2975, allocations: 47.41 kB / 0.6425 GB, free: 9.453 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2975, allocations: 0 / 0.6425 GB, free: 9.453 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.3408, allocations: 3.905 MB / 0.6463 GB, free: 5.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.95, allocations: 8.062 kB / 0.6463 GB, free: 5.594 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)