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.001433/0.001433, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001429/0.001429, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 8 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.01563/0.01563, allocations: 3.255 MB / 315.7 MB, free: 15.84 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.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: 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.002/0.002, allocations: 67.89 kB / 439.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09948, allocations: 54.39 MB / 493.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002911/0.1024, allocations: 1.585 MB / 495.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.104, allocations: 1.13 MB / 496.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.104, allocations: 0 / 496.7 MB, free: 3.078 MB / 350.1 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.0002151/0.1043, allocations: 27.8 kB / 496.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1046, allocations: 103.6 kB / 496.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.813e-05/0.1046, allocations: 11.92 kB / 496.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.1047, allocations: 31.92 kB / 496.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.1048, allocations: 11.98 kB / 496.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.1048, allocations: 19.92 kB / 496.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.105, allocations: 23.86 kB / 496.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.105, allocations: 4 kB / 496.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1052, allocations: 111.8 kB / 497 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1052, allocations: 8 kB / 497 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1052, allocations: 15.86 kB / 497 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1054, allocations: 123.7 kB / 497.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1054, allocations: 0 / 497.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1054, allocations: 3.938 kB / 497.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1054, allocations: 0 / 497.1 MB, free: 2.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004801/0.1059, allocations: 313.9 kB / 497.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.106, allocations: 8.031 kB / 497.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.106, allocations: 30.75 kB / 497.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.106, allocations: 8.891 kB / 497.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1062, allocations: 126.4 kB / 497.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1062, allocations: 384 / 497.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.1062, allocations: 384 / 497.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1064, allocations: 53.61 kB / 497.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1064, allocations: 4 kB / 497.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1064, allocations: 4 kB / 497.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1064, allocations: 3.984 kB / 497.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.305e-05/0.1065, allocations: 19.98 kB / 497.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1068, allocations: 235.9 kB / 497.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.107, allocations: 46.62 kB / 498 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.107, allocations: 20.94 kB / 498 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.107, allocations: 0 / 498 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1071, allocations: 30.56 kB / 498 MB, free: 1.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1071, allocations: 3.938 kB / 498 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002305/0.1073, allocations: 73.56 kB / 498.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1073, allocations: 51.41 kB / 498.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1075, allocations: 125.7 kB / 498.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1075, allocations: 25.7 kB / 498.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.1075, allocations: 92.12 kB / 498.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.1075, allocations: 7.906 kB / 498.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1076, allocations: 17.72 kB / 498.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1077, allocations: 318.8 kB / 498.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.1078, allocations: 12 kB / 498.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.1078, allocations: 7.984 kB / 498.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.1079, allocations: 32.84 kB / 498.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1079, allocations: 0 / 498.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001231/0.108, allocations: 57.62 kB / 498.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.108, allocations: 4 kB / 498.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.108, allocations: 3.984 kB / 498.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.108, allocations: 4 kB / 498.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.1081, allocations: 4 kB / 498.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1081, allocations: 0 / 498.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.1081, allocations: 8 kB / 498.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1081, allocations: 0 / 498.9 MB, free: 0.6758 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: 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 9.186e-05/0.1082, allocations: 109.8 kB / 499 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1082, allocations: 15.94 kB / 499 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.1083, allocations: 4 kB / 499 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1083, allocations: 0 / 499 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1083, allocations: 4 kB / 499 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1083, allocations: 0 / 499 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1085, allocations: 148.7 kB / 499.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1085, allocations: 4 kB / 499.1 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1085, allocations: 4 kB / 499.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1085, allocations: 3.938 kB / 499.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1085, allocations: 0 / 499.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1085, allocations: 7.984 kB / 499.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1085, allocations: 0 / 499.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.1087, allocations: 151.8 kB / 499.3 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.1087, allocations: 15.95 kB / 499.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1087, allocations: 4 kB / 499.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.1088, allocations: 4 kB / 499.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.1088, allocations: 0 / 499.3 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1088, allocations: 0 / 499.3 MB, free: 136 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.1089, allocations: 99.58 kB / 499.4 MB, free: 36 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1089, allocations: 0 / 499.4 MB, free: 36 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1092, allocations: 43.84 kB / 499.5 MB, free: 15.99 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: 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.001232/0.1104, allocations: 0.884 MB / 0.4886 GB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1105, allocations: 27.98 kB / 0.4887 GB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1106, allocations: 0 / 0.4887 GB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.1106, allocations: 19.92 kB / 0.4887 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1109, allocations: 8 kB / 0.4887 GB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1123, allocations: 1.295 MB / 0.4899 GB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1126, allocations: 0.6807 MB / 0.4906 GB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.1126, allocations: 4 kB / 0.4906 GB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.1127, allocations: 19.42 kB / 0.4906 GB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1127, allocations: 0 / 0.4906 GB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.1443, allocations: 2.678 MB / 0.4932 GB, free: 10.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.11, allocations: 25.42 kB / 0.4933 GB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.938898439002514] Failed to read output from testmodel.py, exit status != 0: 11.213252788998943 11.425680824 11.317046489 Calling exit ...