Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001659/0.001659, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002124/0.002124, allocations: 215 kB / 21.45 MB, free: 1.641 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.46/1.46, allocations: 230.6 MB / 254.8 MB, free: 15.11 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+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_4_1_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 43.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1006, allocations: 53.34 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004113/0.1047, allocations: 2.731 MB / 429.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.106, allocations: 0.7206 MB / 430.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1061, allocations: 4 kB / 430.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1063, allocations: 47.56 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1065, allocations: 71.28 kB / 430.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1068, allocations: 115.8 kB / 430.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1072, allocations: 362.5 kB / 431.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1074, allocations: 72.66 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.1076, allocations: 147.5 kB / 431.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1079, allocations: 163.3 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.1079, allocations: 32 kB / 431.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.108, allocations: 36 kB / 431.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.1081, allocations: 63.81 kB / 431.6 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1082, allocations: 147.3 kB / 431.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1909/0.2991, allocations: 350 kB / 432.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2991, allocations: 0.625 kB / 432.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2991, allocations: 1.688 kB / 432.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2991, allocations: 1.719 kB / 432.1 MB, free: 7.992 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.001422/0.3005, allocations: 0.6475 MB / 432.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3006, allocations: 9.094 kB / 432.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.849e-05/0.3006, allocations: 9.641 kB / 432.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.3007, allocations: 60.48 kB / 432.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3009, allocations: 40.03 kB / 432.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3012, allocations: 262.9 kB / 433.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3012, allocations: 15.22 kB / 433.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.3013, allocations: 21.56 kB / 433.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.3019, allocations: 298.9 kB / 433.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3019, allocations: 5 kB / 433.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.302, allocations: 5.281 kB / 433.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.302, allocations: 5.375 kB / 433.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008051/0.3028, allocations: 270.8 kB / 433.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3043, allocations: 1.067 MB / 434.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3062, allocations: 424.5 kB / 435.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.3066, allocations: 140.4 kB / 435.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3066, allocations: 5 kB / 435.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3066, allocations: 35.25 kB / 435.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.3066, allocations: 1.156 kB / 435.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004913/0.3115, allocations: 1.018 MB / 436.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3116, allocations: 59.12 kB / 436.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3118, allocations: 218 kB / 436.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3118, allocations: 29.02 kB / 436.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.3119, allocations: 165.3 kB / 436.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3119, allocations: 49.31 kB / 436.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.312, allocations: 41.78 kB / 436.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.3121, allocations: 328.4 kB / 437.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.3124, allocations: 110.2 kB / 437.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.3128, allocations: 126.3 kB / 437.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.3134, allocations: 232.5 kB / 437.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3134, allocations: 5 kB / 437.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002829/0.3163, allocations: 0.6238 MB / 438.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3163, allocations: 8.844 kB / 438.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3163, allocations: 2.125 kB / 438.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.317, allocations: 215.4 kB / 438.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3172, allocations: 39.27 kB / 438.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.3237, allocations: 2.739 MB / 441.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.324, allocations: 41.11 kB / 441.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.324, allocations: 8.969 kB / 441.4 MB, free: 4.027 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.0001293/0.3241, allocations: 131.9 kB / 441.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.3242, allocations: 22.38 kB / 441.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3242, allocations: 24.45 kB / 441.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3242, allocations: 8.938 kB / 441.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3242, allocations: 0 / 441.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3242, allocations: 0.7031 kB / 441.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.3246, allocations: 334.4 kB / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3246, allocations: 0 / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3248, allocations: 29.03 kB / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/0.3255, allocations: 224.1 kB / 442.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3255, allocations: 4.844 kB / 442.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006233/0.3318, allocations: 2.734 MB / 444.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3318, allocations: 0.7969 kB / 444.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.3349, allocations: 0.8424 MB / 445.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.335, allocations: 99.45 kB / 445.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.335, allocations: 5.828 kB / 445.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.3353, allocations: 32.94 kB / 445.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3354, allocations: 8.641 kB / 445.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3354, allocations: 9.844 kB / 445.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.3356, allocations: 162.7 kB / 446 MB, free: 1.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3356, allocations: 0 / 446 MB, free: 1.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004958/0.3361, allocations: 79.27 kB / 446.1 MB, free: 1.383 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.003255/0.3393, allocations: 1.387 MB / 447.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.3408, allocations: 443.3 kB / 447.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3408, allocations: 1.422 kB / 447.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3418, allocations: 320.4 kB / 448.2 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3422, allocations: 49.7 kB / 448.3 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/0.3514, allocations: 3.35 MB / 451.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.3518, allocations: 0.7456 MB / 452.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.352, allocations: 13.88 kB / 452.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3521, allocations: 66.86 kB / 452.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3521, allocations: 0 / 452.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.3863, allocations: 7.42 MB / 459.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.97, allocations: 13.89 kB / 459.9 MB, free: 10.83 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection_fmu --startTime=0 --stopTime=0.4 --stepSize=7.9968e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OvervoltageProtection.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.41436308802804] Failed to read output from testmodel.py, exit status != 0: ['time', 'CL.v'] 12.133100352017209 12.14883094 11.846694724 Calling exit ...