Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01568/0.01568, allocations: 3.268 MB / 312.8 MB, free: 2.137 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 66.88 kB / 435.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08431, allocations: 54.34 MB / 489.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.00263/0.08694, allocations: 1.525 MB / 491 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.08857, allocations: 1.316 MB / 492.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.08864, allocations: 0 / 492.3 MB, free: 11.33 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.08898, allocations: 43.78 kB / 492.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.08907, allocations: 32.78 kB / 492.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.08932, allocations: 79.64 kB / 492.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.08943, allocations: 69.64 kB / 492.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.08946, allocations: 5.344 kB / 492.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.08952, allocations: 28.39 kB / 492.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.08979, allocations: 33.09 kB / 492.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.08981, allocations: 3.969 kB / 492.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.08995, allocations: 99.97 kB / 492.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.09, allocations: 14.86 kB / 492.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.09005, allocations: 32.05 kB / 492.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.09024, allocations: 137.2 kB / 492.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09025, allocations: 0 / 492.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09025, allocations: 0 / 492.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.09026, allocations: 1.375 kB / 492.8 MB, free: 10.98 MB / 350.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.0004279/0.09069, allocations: 429.6 kB / 493.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.09072, allocations: 9.625 kB / 493.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.142e-05/0.09074, allocations: 192 / 493.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.09075, allocations: 40.11 kB / 493.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.09079, allocations: 9.016 kB / 493.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.091, allocations: 201.9 kB / 493.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.09101, allocations: 1.75 kB / 493.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.09103, allocations: 5.75 kB / 493.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.09118, allocations: 68.84 kB / 493.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.09119, allocations: 1.375 kB / 493.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.0912, allocations: 0 / 493.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.0912, allocations: 1.375 kB / 493.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.09127, allocations: 29.58 kB / 493.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.09144, allocations: 180 kB / 493.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.09152, allocations: 46.81 kB / 493.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.09158, allocations: 33.27 kB / 493.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.09159, allocations: 5.062 kB / 493.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.09174, allocations: 109.2 kB / 494 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.09174, allocations: 0 / 494 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.09211, allocations: 192.2 kB / 494.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.09216, allocations: 84.2 kB / 494.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.0923, allocations: 154.8 kB / 494.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.09231, allocations: 27.17 kB / 494.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.09234, allocations: 94.95 kB / 494.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.09238, allocations: 32.05 kB / 494.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.09242, allocations: 16.75 kB / 494.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.09248, allocations: 321.6 kB / 494.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.09253, allocations: 27.83 kB / 494.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.09257, allocations: 32.77 kB / 494.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.09267, allocations: 120 kB / 495.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.09268, allocations: 0 / 495.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002012/0.09288, allocations: 168.7 kB / 495.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.09291, allocations: 41.12 kB / 495.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.09292, allocations: 0 / 495.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.09293, allocations: 1.344 kB / 495.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.093, allocations: 8.344 kB / 495.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.09301, allocations: 0 / 495.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.09308, allocations: 4.375 kB / 495.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.09309, allocations: 3.156 kB / 495.3 MB, free: 8.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.231e-05/0.09318, allocations: 164.5 kB / 495.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.09321, allocations: 17.78 kB / 495.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.09323, allocations: 10.98 kB / 495.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.09323, allocations: 1.188 kB / 495.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.09324, allocations: 0 / 495.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.09324, allocations: 0 / 495.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.09334, allocations: 193.8 kB / 495.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09334, allocations: 0 / 495.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.09336, allocations: 7.016 kB / 495.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.09336, allocations: 1.688 kB / 495.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.09338, allocations: 5.812 kB / 495.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.09338, allocations: 4 kB / 495.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.09338, allocations: 1.344 kB / 495.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.09364, allocations: 217.2 kB / 495.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.09368, allocations: 92.3 kB / 496 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.0937, allocations: 3.438 kB / 496 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.09376, allocations: 8.406 kB / 496 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.09379, allocations: 5.562 kB / 496 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.09381, allocations: 7.172 kB / 496 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.71e-05/0.09389, allocations: 123.5 kB / 496.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09389, allocations: 0 / 496.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.09413, allocations: 43.92 kB / 496.2 MB, free: 7.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001129/0.09526, allocations: 0.8586 MB / 497 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.09546, allocations: 135.3 kB / 497.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09546, allocations: 0 / 497.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.09553, allocations: 95.39 kB / 497.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.09575, allocations: 14.38 kB / 497.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.09703, allocations: 1.7 MB / 499 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.778e-05/0.09712, allocations: 0.6924 MB / 499.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.386e-05/0.09716, allocations: 18.8 kB / 499.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.0972, allocations: 27.42 kB / 499.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.0972, allocations: 0 / 499.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1168, allocations: 3.033 MB / 0.491 GB, free: 1.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.375, allocations: 7.25 kB / 0.491 GB, free: 1.25 MB / 350.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_CSVTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.955553360050544] Failed to read output from testmodel.py, exit status != 0: 8.499646821001079 8.516532786 8.422845569 Calling exit ...