Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.001309/0.001309, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001376/0.001376, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001935/0.001935, allocations: 55.94 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3491, allocations: 49.12 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003579/0.3527, allocations: 2.676 MB / 394.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3538, allocations: 0.7208 MB / 395.5 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.354, allocations: 8.656 kB / 395.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.3541, allocations: 43.94 kB / 395.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3543, allocations: 75.02 kB / 395.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3546, allocations: 101 kB / 395.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.3549, allocations: 362 kB / 396.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3551, allocations: 71.33 kB / 396.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.3553, allocations: 155.1 kB / 396.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3555, allocations: 161.8 kB / 396.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.3556, allocations: 31.28 kB / 396.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.337e-05/0.3556, allocations: 28.97 kB / 396.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.3557, allocations: 62.59 kB / 396.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3558, allocations: 147.8 kB / 396.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.3563, allocations: 348 kB / 397.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3563, allocations: 1.062 kB / 397.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3563, allocations: 0 / 397.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3563, allocations: 0 / 397.1 MB, free: 5.535 MB / 318.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.00149/0.3578, allocations: 0.6498 MB / 397.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3578, allocations: 8.906 kB / 397.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/0.3578, allocations: 5.25 kB / 397.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.3579, allocations: 54.36 kB / 397.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.3579, allocations: 31.56 kB / 397.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.3583, allocations: 265.3 kB / 398.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3583, allocations: 16.81 kB / 398.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.3584, allocations: 18.03 kB / 398.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.3591, allocations: 302.9 kB / 398.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3591, allocations: 0 / 398.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3591, allocations: 7 kB / 398.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3591, allocations: 4.438 kB / 398.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008232/0.3599, allocations: 272.6 kB / 398.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.3616, allocations: 1.062 MB / 399.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.3637, allocations: 422.9 kB / 400.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.3641, allocations: 140.6 kB / 400.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3641, allocations: 7.172 kB / 400.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3641, allocations: 36.31 kB / 400.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3641, allocations: 3.938 kB / 400.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.005087/0.3692, allocations: 1.016 MB / 401.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3692, allocations: 56.56 kB / 401.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3695, allocations: 214.6 kB / 401.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3695, allocations: 30.8 kB / 401.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.3696, allocations: 155 kB / 401.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3697, allocations: 56.75 kB / 401.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.3698, allocations: 39.38 kB / 401.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.3698, allocations: 334.1 kB / 402.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.3701, allocations: 105.6 kB / 402.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.3705, allocations: 132.5 kB / 402.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/0.3712, allocations: 226.4 kB / 402.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3712, allocations: 1.094 kB / 402.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002936/0.3741, allocations: 0.626 MB / 403.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3742, allocations: 5.75 kB / 403.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3742, allocations: 4 kB / 403.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007569/0.3749, allocations: 217 kB / 403.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3751, allocations: 35.53 kB / 403.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/0.3817, allocations: 2.75 MB / 406.3 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.382, allocations: 42.25 kB / 406.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.382, allocations: 5.672 kB / 406.4 MB, free: 316 kB / 318.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.0001632/0.3822, allocations: 137 kB / 406.5 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3823, allocations: 24.83 kB / 406.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.3823, allocations: 21.34 kB / 406.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3823, allocations: 2.344 kB / 406.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3823, allocations: 4 kB / 406.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3823, allocations: 5.016 kB / 406.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.3828, allocations: 331.5 kB / 406.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3828, allocations: 5.156 kB / 406.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.383, allocations: 26.83 kB / 406.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007303/0.3837, allocations: 219.6 kB / 407.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3837, allocations: 7.766 kB / 407.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007321/0.3911, allocations: 2.738 MB / 409.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3911, allocations: 0 / 409.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.3945, allocations: 0.8462 MB / 410.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3946, allocations: 94.23 kB / 410.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3946, allocations: 5.281 kB / 410.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3949, allocations: 34.03 kB / 410.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.3949, allocations: 12.83 kB / 410.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.395, allocations: 10.73 kB / 410.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3952, allocations: 159.2 kB / 411 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3952, allocations: 1 kB / 411 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005559/0.3957, allocations: 85.94 kB / 411.1 MB, free: 13.15 MB / 334.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.003748/0.3995, allocations: 1.391 MB / 412.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.4012, allocations: 443.3 kB / 412.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4012, allocations: 1.094 kB / 412.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.4023, allocations: 324.1 kB / 413.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4027, allocations: 34.41 kB / 413.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/0.4119, allocations: 3.336 MB / 416.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.4125, allocations: 0.7514 MB / 417.4 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.4126, allocations: 13.8 kB / 417.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.4127, allocations: 70.22 kB / 417.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4127, allocations: 1.375 kB / 417.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.4465, allocations: 7.393 MB / 424.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.42, allocations: 15.98 kB / 424.9 MB, free: 2.719 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection_fmu --startTime=0 --stopTime=0.4 --stepSize=7.9968e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.969233519979753] Failed to read output from testmodel.py, exit status != 0: ['time', 'CL.v'] 12.574544478033204 12.599325294 12.238183038 Calling exit ...