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.0009398/0.0009398, allocations: 76.44 kB / 19.17 MB, free: 0.7344 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.001538/0.001538, allocations: 166.3 kB / 22.45 MB, free: 2.102 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.9151/0.9151, allocations: 177.2 MB / 202.8 MB, free: 5.602 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.01299/0.01299, allocations: 2.248 MB / 261.5 MB, free: 10.86 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: 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.0009711/0.0009711, allocations: 75.89 kB / 385.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2387, allocations: 54.33 MB / 439.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002246/0.2409, allocations: 1.56 MB / 441.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2422, allocations: 1.127 MB / 442.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.2423, allocations: 3.938 kB / 442.5 MB, free: 13.03 MB / 346.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.0002409/0.2425, allocations: 26.2 kB / 442.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.2428, allocations: 105.5 kB / 442.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-05/0.2429, allocations: 6.094 kB / 442.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.821e-05/0.2429, allocations: 29.73 kB / 442.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.243, allocations: 19.55 kB / 442.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.2431, allocations: 23.56 kB / 442.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2432, allocations: 17.14 kB / 442.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2432, allocations: 2.5 kB / 442.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2433, allocations: 95.98 kB / 442.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2434, allocations: 14.2 kB / 442.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.2434, allocations: 7.219 kB / 442.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.2436, allocations: 134.1 kB / 442.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2436, allocations: 1.125 kB / 442.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2436, allocations: 0 / 442.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2436, allocations: 0 / 442.9 MB, free: 12.75 MB / 346.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.000387/0.244, allocations: 316.4 kB / 443.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.244, allocations: 9.969 kB / 443.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.2441, allocations: 31.97 kB / 443.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.2441, allocations: 3.375 kB / 443.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2442, allocations: 131.8 kB / 443.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-06/0.2443, allocations: 1.75 kB / 443.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.2443, allocations: 1.75 kB / 443.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2444, allocations: 43.84 kB / 443.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.2444, allocations: 192 / 443.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2444, allocations: 13.19 kB / 443.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2444, allocations: 0 / 443.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.2444, allocations: 28.34 kB / 443.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.2447, allocations: 224.4 kB / 443.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.2449, allocations: 46.94 kB / 443.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.2449, allocations: 22.41 kB / 443.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2449, allocations: 1.188 kB / 443.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2449, allocations: 31.78 kB / 443.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.2449, allocations: 4 kB / 443.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001921/0.2451, allocations: 69.25 kB / 443.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2452, allocations: 51.41 kB / 443.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.2453, allocations: 115.8 kB / 444 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2453, allocations: 26.83 kB / 444.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2453, allocations: 93.31 kB / 444.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.2453, allocations: 10.22 kB / 444.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.2453, allocations: 12 kB / 444.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.2454, allocations: 321.1 kB / 444.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.2455, allocations: 13.61 kB / 444.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.2455, allocations: 13.8 kB / 444.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.2455, allocations: 30.89 kB / 444.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2455, allocations: 3.938 kB / 444.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.593e-05/0.2456, allocations: 51.72 kB / 444.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2456, allocations: 5.188 kB / 444.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2456, allocations: 4 kB / 444.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2456, allocations: 5.062 kB / 444.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.2457, allocations: 8.734 kB / 444.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2457, allocations: 9.156 kB / 444.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.2457, allocations: 6.5 kB / 444.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2457, allocations: 0 / 444.6 MB, free: 11.04 MB / 346.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 6.885e-05/0.2458, allocations: 113.2 kB / 444.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2458, allocations: 6.047 kB / 444.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.2458, allocations: 17.08 kB / 444.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2458, allocations: 1.219 kB / 444.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2458, allocations: 0 / 444.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2458, allocations: 0 / 444.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2459, allocations: 134.1 kB / 444.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2459, allocations: 4 kB / 444.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.246, allocations: 5.812 kB / 444.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.246, allocations: 0 / 444.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.246, allocations: 3.984 kB / 444.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.246, allocations: 1.75 kB / 444.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.246, allocations: 0 / 444.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.2461, allocations: 159.5 kB / 445.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.2461, allocations: 9.234 kB / 445.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2461, allocations: 1.125 kB / 445.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.23e-05/0.2461, allocations: 5.562 kB / 445.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.2462, allocations: 4.719 kB / 445.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2462, allocations: 1.5 kB / 445.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.2462, allocations: 93.17 kB / 445.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2462, allocations: 0 / 445.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.2464, allocations: 42.8 kB / 445.2 MB, free: 10.45 MB / 346.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.0009733/0.2474, allocations: 0.9085 MB / 446.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.2475, allocations: 31.16 kB / 446.2 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2475, allocations: 4 kB / 446.2 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.2475, allocations: 12.66 kB / 446.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2477, allocations: 8.547 kB / 446.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.2486, allocations: 1.288 MB / 447.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.2486, allocations: 63.59 kB / 447.6 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.2487, allocations: 6.531 kB / 447.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.2487, allocations: 25.42 kB / 447.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2487, allocations: 0 / 447.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.2695, allocations: 3.241 MB / 450.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.252, allocations: 11.3 kB / 450.8 MB, free: 5.148 MB / 346.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: 9.046501052100211] Failed to read output from testmodel.py, exit status != 0: 7.331572606228292 7.342159562 7.096715295 Calling exit ...