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.001213/0.001213, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.001521/0.001521, allocations: 166 kB / 22.56 MB, free: 1.961 MB / 18.57 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 0.9048/0.9048, allocations: 177.1 MB / 202.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.01342/0.01342, allocations: 2.255 MB / 261.6 MB, free: 10.82 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 385.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.277e-05, allocations: 5.234 kB / 385.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.001976/0.001999, allocations: 1.51 MB / 387 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003235, allocations: 1.363 MB / 388.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.003304, allocations: 7.938 kB / 388.4 MB, free: 9.402 MB / 362.7 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.0003461/0.00365, allocations: 47.7 kB / 388.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.003741, allocations: 35.78 kB / 388.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003938, allocations: 79.73 kB / 388.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.004036, allocations: 59.78 kB / 388.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.004071, allocations: 11.97 kB / 388.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.004149, allocations: 35.91 kB / 388.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.004273, allocations: 15.98 kB / 388.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004289, allocations: 4 kB / 388.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.004413, allocations: 95.84 kB / 388.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.004471, allocations: 23.86 kB / 388.8 MB, free: 9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.004511, allocations: 15.98 kB / 388.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.004706, allocations: 159.6 kB / 389 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004709, allocations: 0 / 389 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00471, allocations: 0 / 389 MB, free: 8.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004714, allocations: 0 / 389 MB, free: 8.828 MB / 362.7 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.0004307/0.005144, allocations: 371.4 kB / 389.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005182, allocations: 8.031 kB / 389.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.005205, allocations: 30.75 kB / 389.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.005238, allocations: 12.89 kB / 389.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.005432, allocations: 141.7 kB / 389.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.005439, allocations: 384 / 389.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.00545, allocations: 384 / 389.5 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005576, allocations: 103.9 kB / 389.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.005583, allocations: 192 / 389.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005592, allocations: 4.125 kB / 389.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.005596, allocations: 0 / 389.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.005657, allocations: 65.67 kB / 389.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.005794, allocations: 152.7 kB / 389.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.46e-05/0.005858, allocations: 72.27 kB / 389.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.00591, allocations: 66.59 kB / 390 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.005918, allocations: 0 / 390 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.006066, allocations: 146.7 kB / 390.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.006068, allocations: 4 kB / 390.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000298/0.006366, allocations: 254.7 kB / 390.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.006409, allocations: 85.09 kB / 390.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.006522, allocations: 149.8 kB / 390.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006536, allocations: 25.7 kB / 390.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.006575, allocations: 100.2 kB / 390.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.006612, allocations: 23.83 kB / 390.8 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.006646, allocations: 25.7 kB / 390.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.006721, allocations: 314.8 kB / 391.1 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.006767, allocations: 61.62 kB / 391.2 MB, free: 6.395 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.006808, allocations: 65.69 kB / 391.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.006898, allocations: 124.2 kB / 391.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.0069, allocations: 0 / 391.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001695/0.00707, allocations: 204.8 kB / 391.5 MB, free: 5.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.007106, allocations: 45.62 kB / 391.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007111, allocations: 0 / 391.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007122, allocations: 0 / 391.6 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.007189, allocations: 4 kB / 391.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007194, allocations: 0 / 391.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.007252, allocations: 11.98 kB / 391.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.00726, allocations: 0 / 391.6 MB, free: 5.902 MB / 362.7 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 8.676e-05/0.007347, allocations: 159.5 kB / 391.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.007363, allocations: 11.95 kB / 391.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.007385, allocations: 12.72 kB / 391.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007387, allocations: 0 / 391.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.007392, allocations: 0 / 391.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007395, allocations: 0 / 391.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.101e-05/0.007486, allocations: 152.7 kB / 391.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007487, allocations: 0 / 391.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.007505, allocations: 4 kB / 391.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007507, allocations: 0 / 391.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.007518, allocations: 11.94 kB / 391.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007519, allocations: 0 / 391.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00752, allocations: 3.938 kB / 391.9 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.007723, allocations: 256.6 kB / 392.2 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.00774, allocations: 15.83 kB / 392.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.007759, allocations: 11.92 kB / 392.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.007795, allocations: 4 kB / 392.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.007828, allocations: 8 kB / 392.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.007843, allocations: 8 kB / 392.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.664e-05/0.007909, allocations: 122.5 kB / 392.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007909, allocations: 0 / 392.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.00808, allocations: 43.92 kB / 392.4 MB, free: 5.004 MB / 362.7 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.0007372/0.008817, allocations: 0.9097 MB / 393.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.008997, allocations: 198.8 kB / 393.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008998, allocations: 0 / 393.5 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/0.009063, allocations: 125.2 kB / 393.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.009217, allocations: 20.02 kB / 393.7 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.0105, allocations: 1.889 MB / 395.5 MB, free: 1.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.01055, allocations: 79.27 kB / 395.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01059, allocations: 8 kB / 395.6 MB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.01063, allocations: 28.48 kB / 395.7 MB, free: 1.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01063, allocations: 0 / 395.7 MB, free: 1.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.03272, allocations: 3.761 MB / 399.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/6.757, allocations: 11.06 kB / 399.4 MB, free: 13.9 MB / 378.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.CSVTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.600449080578983] Failed to read output from testmodel.py, exit status != 0: 6.834046045318246 6.842143436 6.83576217 Calling exit ...