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.001329/0.001329, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001377/0.001377, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.455/1.455, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002012/0.002012, allocations: 75.81 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.32 MB / 427 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004167/0.1077, allocations: 2.734 MB / 429.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.109, allocations: 0.7167 MB / 430.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1091, allocations: 7.938 kB / 430.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1093, allocations: 39.58 kB / 430.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1094, allocations: 87.27 kB / 430.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1097, allocations: 111.8 kB / 430.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1101, allocations: 358.5 kB / 431.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1103, allocations: 64.7 kB / 431.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.1105, allocations: 143.5 kB / 431.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1107, allocations: 167.3 kB / 431.4 MB, free: 436 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1108, allocations: 28 kB / 431.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.1109, allocations: 36 kB / 431.5 MB, free: 372 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1109, allocations: 71.75 kB / 431.6 MB, free: 300 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1111, allocations: 151.3 kB / 431.7 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2008/0.3119, allocations: 346.7 kB / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3119, allocations: 1.375 kB / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3119, allocations: 0 / 432 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3119, allocations: 0 / 432 MB, free: 8.309 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001472/0.3134, allocations: 0.6467 MB / 432.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3134, allocations: 10.38 kB / 432.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.3135, allocations: 55.2 kB / 432.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.3137, allocations: 41.44 kB / 432.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.314, allocations: 265.8 kB / 433.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.314, allocations: 12.03 kB / 433.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.3141, allocations: 24.66 kB / 433.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.3147, allocations: 307.3 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3147, allocations: 0.8125 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3148, allocations: 5.656 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3148, allocations: 5.938 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.3156, allocations: 270.1 kB / 433.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3171, allocations: 1.066 MB / 434.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.319, allocations: 430.2 kB / 435.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.3194, allocations: 134.5 kB / 435.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3194, allocations: 6.094 kB / 435.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3195, allocations: 39.56 kB / 435.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3195, allocations: 0 / 435.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004981/0.3244, allocations: 1.018 MB / 436.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3245, allocations: 60.12 kB / 436.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3247, allocations: 215.6 kB / 436.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3247, allocations: 30.11 kB / 436.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.3248, allocations: 163.2 kB / 436.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3248, allocations: 54.67 kB / 436.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.3249, allocations: 39.81 kB / 436.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.3249, allocations: 328.3 kB / 437.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3253, allocations: 104.4 kB / 437.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3256, allocations: 125.1 kB / 437.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.3263, allocations: 228.6 kB / 437.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3263, allocations: 3.375 kB / 437.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00288/0.3292, allocations: 0.638 MB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3292, allocations: 5.719 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3292, allocations: 1.938 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.3299, allocations: 218.8 kB / 438.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3301, allocations: 32.81 kB / 438.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.3365, allocations: 2.743 MB / 441.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.3369, allocations: 35.03 kB / 441.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3369, allocations: 8.391 kB / 441.3 MB, free: 4.344 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.0001348/0.337, allocations: 136.3 kB / 441.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.3371, allocations: 18 kB / 441.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.3371, allocations: 25 kB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3371, allocations: 1.438 kB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3371, allocations: 4.844 kB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3371, allocations: 5.25 kB / 441.5 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3375, allocations: 335.9 kB / 441.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3375, allocations: 1.375 kB / 441.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.3377, allocations: 31.84 kB / 441.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/0.3384, allocations: 220.2 kB / 442.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3384, allocations: 7.766 kB / 442.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006388/0.3448, allocations: 2.737 MB / 444.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3448, allocations: 1.062 kB / 444.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.348, allocations: 0.8418 MB / 445.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.3481, allocations: 103.5 kB / 445.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3482, allocations: 1.812 kB / 445.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.3484, allocations: 33.19 kB / 445.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3485, allocations: 11.89 kB / 445.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3485, allocations: 5.891 kB / 445.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3487, allocations: 165.3 kB / 446 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 0 / 446 MB, free: 1.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.3491, allocations: 78.2 kB / 446.1 MB, free: 1.707 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.003259/0.3524, allocations: 1.384 MB / 447.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.3539, allocations: 449.6 kB / 447.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3539, allocations: 2.312 kB / 447.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3549, allocations: 323.3 kB / 448.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3553, allocations: 37.06 kB / 448.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/0.3645, allocations: 3.362 MB / 451.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3649, allocations: 0.7442 MB / 452.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3651, allocations: 17.84 kB / 452.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3652, allocations: 71.23 kB / 452.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3652, allocations: 0 / 452.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.4043, allocations: 7.407 MB / 459.9 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.94, allocations: 8.016 kB / 459.9 MB, free: 11.25 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.386497762054205] Failed to read output from testmodel.py, exit status != 0: ['time', 'CL.v'] 12.027817935217172 12.041052462 11.726220408 Calling exit ...