Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.000932/0.000932, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001773/0.001773, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8949/0.8949, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1813/0.1813, allocations: 36.34 MB / 274.3 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) 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(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 414.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.193e-05, allocations: 2.281 kB / 414.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003062/0.003084, allocations: 2.464 MB / 416.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.004072, allocations: 0.7251 MB / 417.5 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.00422, allocations: 7.938 kB / 417.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.004374, allocations: 47.52 kB / 417.6 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.004652, allocations: 130.8 kB / 417.7 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.004857, allocations: 83.81 kB / 417.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.0052, allocations: 417.9 kB / 418.2 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.005374, allocations: 65.69 kB / 418.3 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.005605, allocations: 223.4 kB / 418.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.00577, allocations: 119.6 kB / 418.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.005806, allocations: 24 kB / 418.6 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.005875, allocations: 32 kB / 418.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.005919, allocations: 67.62 kB / 418.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.006011, allocations: 111.7 kB / 418.8 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.006307, allocations: 314.9 kB / 419.1 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006311, allocations: 7.938 kB / 419.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.006312, allocations: 0 / 419.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006318, allocations: 0 / 419.1 MB, free: 1.262 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008093/0.007127, allocations: 0.5904 MB / 419.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.007178, allocations: 16.03 kB / 419.7 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.007232, allocations: 54.73 kB / 419.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.00733, allocations: 40.7 kB / 419.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.007753, allocations: 269.5 kB / 420.1 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.007771, allocations: 16.88 kB / 420.1 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.00781, allocations: 24.38 kB / 420.1 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.008127, allocations: 244.1 kB / 420.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008139, allocations: 4.188 kB / 420.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.008156, allocations: 12.12 kB / 420.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.008164, allocations: 8 kB / 420.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.008406, allocations: 177.8 kB / 420.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.009281, allocations: 0.7365 MB / 421.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.009522, allocations: 185.1 kB / 421.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.009651, allocations: 104.8 kB / 421.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.009671, allocations: 0 / 421.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.009694, allocations: 42.5 kB / 421.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.273e-06/0.009695, allocations: 0 / 421.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001252/0.01095, allocations: 0.6629 MB / 422.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01098, allocations: 51.41 kB / 422.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.0112, allocations: 304.5 kB / 422.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01122, allocations: 29.7 kB / 422.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.01132, allocations: 184.7 kB / 422.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.01137, allocations: 107 kB / 423 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.01143, allocations: 53.7 kB / 423 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.01151, allocations: 342.8 kB / 423.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.01162, allocations: 79.95 kB / 423.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01173, allocations: 110.5 kB / 423.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.01195, allocations: 196.1 kB / 423.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01195, allocations: 0 / 423.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004049/0.01236, allocations: 323.1 kB / 424 MB, free: 12.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01237, allocations: 4 kB / 424 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01238, allocations: 0 / 424 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.01259, allocations: 64.75 kB / 424.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.01281, allocations: 79.95 kB / 424.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.01444, allocations: 2.805 MB / 427 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.01455, allocations: 12.02 kB / 427 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01456, allocations: 12.19 kB / 427 MB, free: 8.887 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.01468, allocations: 141.7 kB / 427.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01472, allocations: 35.77 kB / 427.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.01501, allocations: 270.2 kB / 427.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01501, allocations: 0 / 427.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01501, allocations: 4 kB / 427.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01502, allocations: 0 / 427.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.01562, allocations: 0.6038 MB / 428.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01563, allocations: 0 / 428.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.0158, allocations: 67.91 kB / 428.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.0158, allocations: 4 kB / 428.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01582, allocations: 8 kB / 428.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01582, allocations: 0 / 428.1 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01582, allocations: 3.938 kB / 428.1 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.01622, allocations: 448 kB / 428.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.01629, allocations: 47.8 kB / 428.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01631, allocations: 4 kB / 428.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.01641, allocations: 19.98 kB / 428.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.01646, allocations: 19.91 kB / 428.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01646, allocations: 8 kB / 428.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.01661, allocations: 215.1 kB / 428.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01661, allocations: 3.938 kB / 428.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.01711, allocations: 68 kB / 429 MB, free: 6.859 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.0005961/0.01771, allocations: 0.982 MB / 429.9 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000635/0.01834, allocations: 350.8 kB / 430.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01834, allocations: 0 / 430.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.01846, allocations: 108 kB / 430.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.01879, allocations: 65.05 kB / 430.4 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.02179, allocations: 3.271 MB / 433.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.0219, allocations: 182.8 kB / 433.9 MB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.02201, allocations: 38.94 kB / 433.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.02213, allocations: 116.5 kB / 434 MB, free: 1.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.02213, allocations: 0 / 434 MB, free: 1.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.04762, allocations: 7.909 MB / 442 MB, free: 9.637 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/7.356, allocations: 4.062 kB / 442 MB, free: 9.633 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.006 ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5.fmu > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.578343268483877] Failed to read output from testmodel.py, exit status != 0: 7.443259635940194 7.609900709 7.601242211 Calling exit ...