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.001465/0.001465, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001685/0.001685, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.016 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.02401/0.02401, allocations: 3.263 MB / 315.7 MB, free: 15.83 MB / 254.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",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.002261/0.002261, allocations: 63.89 kB / 439.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 54.38 MB / 493.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.005554/0.1271, allocations: 1.529 MB / 495.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004134/0.1312, allocations: 1.406 MB / 496.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.1313, allocations: 0 / 496.9 MB, free: 2.906 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.0006303/0.132, allocations: 47.72 kB / 496.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1322, allocations: 31.84 kB / 497 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.1328, allocations: 79.78 kB / 497 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.133, allocations: 63.8 kB / 497.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.1331, allocations: 7.969 kB / 497.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1332, allocations: 19.94 kB / 497.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.1337, allocations: 31.84 kB / 497.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1337, allocations: 8 kB / 497.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.1341, allocations: 107.8 kB / 497.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.1342, allocations: 15.94 kB / 497.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1343, allocations: 27.86 kB / 497.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.1348, allocations: 143.5 kB / 497.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1348, allocations: 0 / 497.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1348, allocations: 0 / 497.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1348, allocations: 0 / 497.4 MB, free: 2.332 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.0009517/0.1357, allocations: 363.5 kB / 497.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.1358, allocations: 12.03 kB / 497.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.1359, allocations: 30.75 kB / 497.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.1359, allocations: 16.89 kB / 497.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.1364, allocations: 142.4 kB / 498 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1364, allocations: 384 / 498 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1365, allocations: 4.375 kB / 498 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1367, allocations: 69.73 kB / 498.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1367, allocations: 0 / 498.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1367, allocations: 0 / 498.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1367, allocations: 3.984 kB / 498.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.1369, allocations: 39.97 kB / 498.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1372, allocations: 148.7 kB / 498.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1373, allocations: 38.56 kB / 498.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1374, allocations: 36.89 kB / 498.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1375, allocations: 0 / 498.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.1378, allocations: 120.9 kB / 498.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/0.1378, allocations: 4 kB / 498.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006684/0.1384, allocations: 187.5 kB / 498.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1385, allocations: 81.11 kB / 498.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1388, allocations: 156.7 kB / 498.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.1389, allocations: 25.7 kB / 498.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.139, allocations: 96.14 kB / 499 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.139, allocations: 16.02 kB / 499 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.1391, allocations: 25.7 kB / 499 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.1393, allocations: 326.8 kB / 499.4 MB, free: 224 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1395, allocations: 31.92 kB / 499.4 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.1395, allocations: 24 kB / 499.4 MB, free: 168 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1398, allocations: 124.2 kB / 499.5 MB, free: 28 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1398, allocations: 0 / 499.5 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005211/0.1403, allocations: 163.2 kB / 499.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.1404, allocations: 41.69 kB / 499.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1404, allocations: 0 / 499.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1405, allocations: 0 / 499.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1406, allocations: 8 kB / 499.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1406, allocations: 3.984 kB / 499.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1407, allocations: 7.938 kB / 499.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1408, allocations: 4 kB / 499.8 MB, free: 15.79 MB / 366.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 0.0002649/0.141, allocations: 151.5 kB / 499.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.1411, allocations: 19.84 kB / 499.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.1411, allocations: 12.7 kB / 499.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1412, allocations: 0 / 499.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1412, allocations: 4 kB / 499.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1412, allocations: 4 kB / 499.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.1415, allocations: 160.7 kB / 0.4884 GB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1415, allocations: 3.938 kB / 0.4884 GB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.1415, allocations: 7.938 kB / 0.4884 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1415, allocations: 0 / 0.4884 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1415, allocations: 3.984 kB / 0.4884 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1415, allocations: 3.938 kB / 0.4884 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1415, allocations: 8 kB / 0.4884 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.1421, allocations: 214.7 kB / 0.4886 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.1422, allocations: 11.94 kB / 0.4886 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.1423, allocations: 8 kB / 0.4886 GB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1424, allocations: 4 kB / 0.4886 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1424, allocations: 0 / 0.4886 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.1424, allocations: 4 kB / 0.4886 GB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1426, allocations: 119.2 kB / 0.4887 GB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1426, allocations: 0 / 0.4887 GB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.1432, allocations: 43.92 kB / 0.4888 GB, free: 14.93 MB / 366.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.002342/0.1455, allocations: 0.8776 MB / 0.4896 GB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.1459, allocations: 131.4 kB / 0.4898 GB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.146, allocations: 0 / 0.4898 GB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1461, allocations: 99.33 kB / 0.4899 GB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1466, allocations: 15.98 kB / 0.4899 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.1501, allocations: 1.697 MB / 0.4915 GB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.1506, allocations: 0.6924 MB / 0.4922 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.1507, allocations: 11.98 kB / 0.4922 GB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.1508, allocations: 23.42 kB / 0.4922 GB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1508, allocations: 0 / 0.4922 GB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.1977, allocations: 3.176 MB / 0.4953 GB, free: 8.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.65, allocations: 13.09 kB / 0.4954 GB, free: 8.207 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.54718269687146] Failed to read output from testmodel.py, exit status != 0: 11.755771655822173 11.953431048 11.815620405 Calling exit ...