Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 209.9 kB / 24.54 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.55 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2434, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003781/0.2471, allocations: 2.742 MB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2483, allocations: 0.7244 MB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2484, allocations: 7.938 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2485, allocations: 43.58 kB / 435.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2487, allocations: 87.25 kB / 435.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.249, allocations: 107.8 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.2494, allocations: 362.6 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2495, allocations: 64.55 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.2498, allocations: 151.5 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.25, allocations: 163.4 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.25, allocations: 28 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.2501, allocations: 40 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.2502, allocations: 71.69 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2503, allocations: 143.4 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.2507, allocations: 347.8 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2507, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2507, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2507, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001361/0.252, allocations: 0.5832 MB / 437.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2521, allocations: 8.031 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.2521, allocations: 54.73 kB / 437.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2523, allocations: 40.73 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2526, allocations: 203 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2526, allocations: 12.81 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.2526, allocations: 28.31 kB / 437.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.2533, allocations: 294.8 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2533, allocations: 0 / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2533, allocations: 12 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.2533, allocations: 4 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.2541, allocations: 273.5 kB / 438.5 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.2556, allocations: 1.035 MB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2575, allocations: 430.3 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.2579, allocations: 136.7 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2579, allocations: 4 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2579, allocations: 38.56 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.2579, allocations: 0 / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00484/0.2628, allocations: 0.947 MB / 441 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2628, allocations: 51.41 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.263, allocations: 220.9 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.263, allocations: 33.7 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2632, allocations: 168.2 kB / 441.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.2632, allocations: 39.64 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.2633, allocations: 41.66 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2634, allocations: 330.8 kB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2638, allocations: 103.9 kB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.2641, allocations: 125.6 kB / 442.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.2647, allocations: 232.3 kB / 442.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2647, allocations: 3.938 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002873/0.2676, allocations: 0.6269 MB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2676, allocations: 4 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2676, allocations: 0 / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.2683, allocations: 224.6 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2685, allocations: 35.97 kB / 443.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.2752, allocations: 2.655 MB / 445.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2755, allocations: 35.86 kB / 445.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2755, allocations: 8 kB / 446 MB, free: 8.457 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.2756, allocations: 133.8 kB / 446.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.2757, allocations: 19.91 kB / 446.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.2757, allocations: 21.77 kB / 446.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2757, allocations: 0 / 446.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2757, allocations: 0 / 446.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2757, allocations: 4 kB / 446.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.2761, allocations: 296.4 kB / 446.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2761, allocations: 4 kB / 446.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.2763, allocations: 39.97 kB / 446.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/0.2769, allocations: 220.6 kB / 446.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2769, allocations: 0 / 446.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006355/0.2832, allocations: 2.639 MB / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2832, allocations: 3.938 kB / 449.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.2864, allocations: 0.8545 MB / 450.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.2865, allocations: 23.88 kB / 450.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.2865, allocations: 7.938 kB / 450.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.2868, allocations: 27.97 kB / 450.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.2868, allocations: 7.984 kB / 450.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.2868, allocations: 11.98 kB / 450.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.287, allocations: 164.5 kB / 450.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.287, allocations: 0 / 450.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2874, allocations: 75.89 kB / 450.5 MB, free: 3.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003435/0.2908, allocations: 1.382 MB / 451.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.2923, allocations: 438.4 kB / 452.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2923, allocations: 3.938 kB / 452.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.2934, allocations: 326.6 kB / 452.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2938, allocations: 40.52 kB / 452.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/0.3023, allocations: 3.364 MB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3026, allocations: 0.7398 MB / 456.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.3027, allocations: 17.48 kB / 456.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.3028, allocations: 67.41 kB / 456.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3028, allocations: 0 / 456.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.3401, allocations: 7.476 MB / 464.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.7, allocations: 8.375 kB / 464.3 MB, free: 5.859 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.csv --start-time 0 --stop-time 0.4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.9968e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.078250971622765] Failed to read output from testmodel.py, exit status != 0: ['time', 'CL.v'] 11.78838616469875 11.802758655 11.549112017 Calling exit ...