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.005949/0.005949, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001825/0.001825, allocations: 197.5 kB / 16.79 MB, free: 6.246 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.22/1.22, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6024/0.6024, allocations: 115.4 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 68.8 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1097, allocations: 76.18 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.00264/0.1123, allocations: 1.723 MB / 0.5575 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1141, allocations: 1.467 MB / 0.559 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.1142, allocations: 0 / 0.559 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1144, allocations: 43.77 kB / 0.559 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1146, allocations: 51.77 kB / 0.5591 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1148, allocations: 106.8 kB / 0.5592 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.115, allocations: 123.5 kB / 0.5593 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.115, allocations: 9.109 kB / 0.5593 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1152, allocations: 47.73 kB / 0.5593 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1153, allocations: 55.75 kB / 0.5594 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1153, allocations: 4 kB / 0.5594 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1154, allocations: 59.91 kB / 0.5594 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.1155, allocations: 23.91 kB / 0.5595 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.1156, allocations: 39.73 kB / 0.5595 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1158, allocations: 151.8 kB / 0.5597 GB, free: 6.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1158, allocations: 0 / 0.5597 GB, free: 6.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1158, allocations: 0 / 0.5597 GB, free: 6.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1158, allocations: 0 / 0.5597 GB, free: 6.82 MB / 430.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.0005362/0.1163, allocations: 431 kB / 0.5601 GB, free: 6.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1164, allocations: 12.03 kB / 0.5601 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.1164, allocations: 38.69 kB / 0.5601 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1164, allocations: 16.75 kB / 0.5601 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1166, allocations: 220.1 kB / 0.5603 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1167, allocations: 384 / 0.5603 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1167, allocations: 7.938 kB / 0.5603 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1169, allocations: 101 kB / 0.5604 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1169, allocations: 3.938 kB / 0.5604 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1169, allocations: 0 / 0.5604 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1169, allocations: 0 / 0.5604 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1171, allocations: 55.95 kB / 0.5605 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1173, allocations: 211.4 kB / 0.5607 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1176, allocations: 119.7 kB / 0.5608 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1177, allocations: 50.56 kB / 0.5609 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1177, allocations: 3.984 kB / 0.5609 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1179, allocations: 106 kB / 0.561 GB, free: 5.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1179, allocations: 0 / 0.561 GB, free: 5.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004308/0.1184, allocations: 169.3 kB / 0.5611 GB, free: 5.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.1184, allocations: 132.8 kB / 0.5613 GB, free: 4.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1186, allocations: 180.1 kB / 0.5614 GB, free: 4.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1186, allocations: 25.7 kB / 0.5615 GB, free: 4.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.1187, allocations: 104.1 kB / 0.5616 GB, free: 4.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1187, allocations: 23.7 kB / 0.5616 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1188, allocations: 25.7 kB / 0.5616 GB, free: 4.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.1188, allocations: 322.8 kB / 0.5619 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.119, allocations: 27.98 kB / 0.5619 GB, free: 4.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1191, allocations: 80.14 kB / 0.562 GB, free: 4.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1193, allocations: 87.44 kB / 0.5621 GB, free: 3.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1193, allocations: 7.938 kB / 0.5621 GB, free: 3.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002678/0.1196, allocations: 129.4 kB / 0.5622 GB, free: 3.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1196, allocations: 8 kB / 0.5622 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1196, allocations: 0 / 0.5622 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1196, allocations: 0 / 0.5622 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1197, allocations: 19.98 kB / 0.5623 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1197, allocations: 8.094 kB / 0.5623 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.1198, allocations: 19.83 kB / 0.5623 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1198, allocations: 4 kB / 0.5623 GB, free: 3.797 MB / 430.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 8.364e-05/0.1199, allocations: 125.7 kB / 0.5624 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.12, allocations: 20.19 kB / 0.5624 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.12, allocations: 17.41 kB / 0.5624 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.12, allocations: 0 / 0.5624 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.12, allocations: 4 kB / 0.5624 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.12, allocations: 7.938 kB / 0.5625 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1202, allocations: 209.5 kB / 0.5627 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1202, allocations: 0 / 0.5627 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.1203, allocations: 15.98 kB / 0.5627 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1203, allocations: 0 / 0.5627 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1203, allocations: 0 / 0.5627 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.1203, allocations: 7.984 kB / 0.5627 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1203, allocations: 0 / 0.5627 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.1206, allocations: 178.5 kB / 0.5628 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.1206, allocations: 88.92 kB / 0.5629 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1207, allocations: 0 / 0.5629 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1207, allocations: 11.98 kB / 0.5629 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1208, allocations: 8 kB / 0.5629 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1208, allocations: 7.984 kB / 0.563 GB, free: 3.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.1209, allocations: 140.8 kB / 0.5631 GB, free: 2.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1209, allocations: 0 / 0.5631 GB, free: 2.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1212, allocations: 31.98 kB / 0.5631 GB, free: 2.84 MB / 430.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.001281/0.1224, allocations: 1.049 MB / 0.5641 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1227, allocations: 83.95 kB / 0.5642 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1227, allocations: 0 / 0.5642 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1228, allocations: 43.91 kB / 0.5643 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1231, allocations: 35.95 kB / 0.5643 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1248, allocations: 1.7 MB / 0.566 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.125, allocations: 0.7043 MB / 0.5666 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.974e-05/0.1251, allocations: 28.45 kB / 0.5667 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.1252, allocations: 39.42 kB / 0.5667 GB, free: 15.17 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1252, allocations: 0 / 0.5667 GB, free: 15.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3962/0.5213, allocations: 3.534 MB / 0.5702 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.5217, allocations: 229.8 kB / 0.5704 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.46, allocations: 0 / 0.5704 GB, free: 11.5 MB / 446.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)