Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.0007983/0.0007983, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008317/0.0008317, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8875/0.8875, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.009195/0.009195, allocations: 2.248 MB / 261.4 MB, free: 10.97 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.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 385.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.3e-05, allocations: 2.281 kB / 385.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002064/0.002077, allocations: 1.566 MB / 386.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.003057, allocations: 1.13 MB / 388 MB, free: 9.668 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.003106, allocations: 0 / 388 MB, free: 9.668 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.003318, allocations: 31.84 kB / 388 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.003606, allocations: 106.5 kB / 388.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.00364, allocations: 15.92 kB / 388.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.003695, allocations: 31.86 kB / 388.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.003768, allocations: 8 kB / 388.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.003814, allocations: 15.98 kB / 388.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.003888, allocations: 23.91 kB / 388.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.0039, allocations: 4 kB / 388.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.004025, allocations: 91.86 kB / 388.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.004037, allocations: 15.88 kB / 388.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.004054, allocations: 11.98 kB / 388.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.004239, allocations: 131.6 kB / 388.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004241, allocations: 0 / 388.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004242, allocations: 0 / 388.5 MB, free: 9.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004245, allocations: 0 / 388.5 MB, free: 9.191 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003449/0.00459, allocations: 309.8 kB / 388.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.004625, allocations: 12.03 kB / 388.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.004653, allocations: 34.75 kB / 388.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.004675, allocations: 12.83 kB / 388.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.004804, allocations: 121.7 kB / 388.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-06/0.004812, allocations: 384 / 388.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.00482, allocations: 4.375 kB / 389 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.004912, allocations: 50.23 kB / 389 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004919, allocations: 192 / 389 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004928, allocations: 3.938 kB / 389 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.004933, allocations: 0 / 389 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.004985, allocations: 27.98 kB / 389 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.005244, allocations: 232 kB / 389.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.005374, allocations: 46.55 kB / 389.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.005402, allocations: 16.86 kB / 389.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.005414, allocations: 0 / 389.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.005429, allocations: 34.56 kB / 389.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.00543, allocations: 0 / 389.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.005583, allocations: 69.7 kB / 389.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.005609, allocations: 55.41 kB / 389.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.005678, allocations: 117.8 kB / 389.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005688, allocations: 29.64 kB / 389.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.005719, allocations: 92.09 kB / 389.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.005735, allocations: 11.88 kB / 389.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.005757, allocations: 13.72 kB / 389.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.005825, allocations: 318.8 kB / 390 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.005848, allocations: 8.375 kB / 390.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.005866, allocations: 11.98 kB / 390.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.005909, allocations: 36.78 kB / 390.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005911, allocations: 3.938 kB / 390.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.374e-05/0.005975, allocations: 61.56 kB / 390.2 MB, free: 7.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.005984, allocations: 4 kB / 390.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005988, allocations: 336 / 390.2 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.005999, allocations: 4 kB / 390.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.658e-05/0.006025, allocations: 4 kB / 390.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.006029, allocations: 0 / 390.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.006047, allocations: 8 kB / 390.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.00605, allocations: 4 kB / 390.2 MB, free: 7.273 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.963e-05/0.0061, allocations: 114.4 kB / 390.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.006119, allocations: 7.984 kB / 390.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.006142, allocations: 8 kB / 390.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.006145, allocations: 4 kB / 390.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006149, allocations: 0 / 390.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006152, allocations: 0 / 390.3 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.006255, allocations: 136.6 kB / 390.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006256, allocations: 3.938 kB / 390.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.006274, allocations: 7.984 kB / 390.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.006275, allocations: 4 kB / 390.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.006283, allocations: 8 kB / 390.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006284, allocations: 0 / 390.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006285, allocations: 0 / 390.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.602e-05/0.006381, allocations: 155.5 kB / 390.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.006394, allocations: 7.953 kB / 390.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.006404, allocations: 4 kB / 390.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.006434, allocations: 4 kB / 390.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.006445, allocations: 3.984 kB / 390.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.006446, allocations: 0 / 390.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.006483, allocations: 103.2 kB / 390.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006483, allocations: 3.938 kB / 390.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.006668, allocations: 35.88 kB / 390.8 MB, free: 6.598 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0006552/0.007323, allocations: 0.8946 MB / 391.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.007406, allocations: 23.98 kB / 391.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.007407, allocations: 0 / 391.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.007427, allocations: 19.92 kB / 391.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.007614, allocations: 14.05 kB / 391.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.008463, allocations: 1.3 MB / 393 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.008511, allocations: 63.34 kB / 393.1 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.984e-05/0.008541, allocations: 7.984 kB / 393.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.008577, allocations: 16.5 kB / 393.1 MB, free: 4.215 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008577, allocations: 4 kB / 393.1 MB, free: 4.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.02819, allocations: 3.269 MB / 396.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.057, allocations: 7.969 kB / 396.4 MB, free: 0.9688 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.INITest_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_INITest.fmu > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.84761977661401] Failed to read output from testmodel.py, exit status != 0: 7.138414179906249 7.147222466 7.141167874 Calling exit ...