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.00131/0.00131, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001452/0.001452, allocations: 216.4 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.773 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.01932/0.01932, allocations: 3.277 MB / 315.7 MB, free: 15.59 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.002333/0.002333, allocations: 67.91 kB / 439.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1016, allocations: 54.38 MB / 493.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003194/0.1048, allocations: 1.521 MB / 495.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.107, allocations: 1.348 MB / 496.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.1071, allocations: 0 / 496.7 MB, free: 2.547 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.0003873/0.1075, allocations: 51.7 kB / 496.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1076, allocations: 35.78 kB / 496.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1079, allocations: 86.28 kB / 496.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1081, allocations: 55.84 kB / 497 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1081, allocations: 4 kB / 497 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.1082, allocations: 27.92 kB / 497 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1084, allocations: 27.84 kB / 497 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1084, allocations: 4 kB / 497 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1086, allocations: 99.84 kB / 497.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1087, allocations: 11.94 kB / 497.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1087, allocations: 23.86 kB / 497.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.109, allocations: 143.5 kB / 497.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.109, allocations: 0 / 497.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.109, allocations: 0 / 497.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.109, allocations: 0 / 497.3 MB, free: 1.988 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.0006254/0.1097, allocations: 363.4 kB / 497.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1097, allocations: 12.03 kB / 497.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1097, allocations: 34.75 kB / 497.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1098, allocations: 12.89 kB / 497.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1101, allocations: 146.3 kB / 497.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1101, allocations: 4.375 kB / 497.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1101, allocations: 4.375 kB / 497.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1103, allocations: 95.44 kB / 498 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1104, allocations: 0 / 498 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1104, allocations: 4 kB / 498 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.1104, allocations: 0 / 498 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1105, allocations: 69.61 kB / 498 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1107, allocations: 140.8 kB / 498.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1108, allocations: 72.31 kB / 498.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.1109, allocations: 70.53 kB / 498.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1109, allocations: 0 / 498.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.1111, allocations: 146.7 kB / 498.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1111, allocations: 0 / 498.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004233/0.1115, allocations: 254.8 kB / 498.7 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.1116, allocations: 89.09 kB / 498.8 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1117, allocations: 148.6 kB / 498.9 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1118, allocations: 25.7 kB / 499 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.1118, allocations: 100.2 kB / 499.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1119, allocations: 19.86 kB / 499.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1119, allocations: 21.72 kB / 499.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1121, allocations: 318.8 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.1121, allocations: 61.69 kB / 499.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1122, allocations: 61.62 kB / 499.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1124, allocations: 128.2 kB / 499.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1124, allocations: 4 kB / 499.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002692/0.1126, allocations: 196.9 kB / 499.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.1127, allocations: 41.78 kB / 499.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1127, allocations: 7.938 kB / 499.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1127, allocations: 0 / 499.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.1128, allocations: 4 kB / 499.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1128, allocations: 4 kB / 499.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.1129, allocations: 7.938 kB / 499.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1129, allocations: 3.984 kB / 499.9 MB, free: 15.06 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.0001507/0.113, allocations: 151.7 kB / 0.4883 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1131, allocations: 27.83 kB / 0.4884 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1131, allocations: 8.719 kB / 0.4884 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1131, allocations: 0 / 0.4884 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1131, allocations: 4 kB / 0.4884 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1131, allocations: 0 / 0.4884 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1133, allocations: 156.7 kB / 0.4885 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1133, allocations: 0 / 0.4885 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.1133, allocations: 4 kB / 0.4885 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1133, allocations: 0 / 0.4885 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1133, allocations: 4 kB / 0.4885 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1133, allocations: 0 / 0.4885 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1133, allocations: 0 / 0.4885 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.1136, allocations: 260.2 kB / 0.4888 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.1137, allocations: 7.953 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1137, allocations: 8 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.1138, allocations: 11.98 kB / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1138, allocations: 0 / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.1138, allocations: 4 kB / 0.4888 GB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.114, allocations: 122.2 kB / 0.4889 GB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.114, allocations: 0 / 0.4889 GB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1142, allocations: 39.88 kB / 0.489 GB, free: 14.18 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.001331/0.1156, allocations: 0.9122 MB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1158, allocations: 202.8 kB / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1158, allocations: 0 / 0.4901 GB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.116, allocations: 129.1 kB / 0.4902 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1162, allocations: 4 kB / 0.4902 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1183, allocations: 1.866 MB / 0.492 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.1184, allocations: 75.33 kB / 0.4921 GB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.1184, allocations: 19.98 kB / 0.4921 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.1185, allocations: 23.44 kB / 0.4921 GB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1185, allocations: 0 / 0.4921 GB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.1537, allocations: 3.639 MB / 0.4957 GB, free: 7.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.13, allocations: 11.2 kB / 0.4957 GB, free: 7.262 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.590579603798687] Failed to read output from testmodel.py, exit status != 0: 11.237832579761744 11.255292605 11.142663658 Calling exit ...