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.001299/0.001299, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001451/0.001451, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.417/1.417, allocations: 207.6 MB / 231.1 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] 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.3984/0.3984, allocations: 49.51 MB / 332.5 MB, free: 0.7891 MB / 254.1 MB " [Timeout remaining time 179] 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: 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.00221/0.00221, allocations: 76.02 kB / 470.8 MB, free: 41.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1076, allocations: 62.34 MB / 0.5206 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003092/0.1107, allocations: 2.656 MB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1121, allocations: 0.7526 MB / 0.524 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1122, allocations: 7.938 kB / 0.524 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1124, allocations: 47.45 kB / 0.524 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1127, allocations: 131 kB / 0.5241 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1129, allocations: 87.83 kB / 0.5242 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.1133, allocations: 398.1 kB / 0.5246 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1135, allocations: 65.52 kB / 0.5247 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1137, allocations: 159.3 kB / 0.5248 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.114, allocations: 171.1 kB / 0.525 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.114, allocations: 28 kB / 0.525 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.1141, allocations: 28 kB / 0.525 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.1141, allocations: 67.75 kB / 0.5251 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1143, allocations: 167 kB / 0.5253 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.1147, allocations: 326.4 kB / 0.5256 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1147, allocations: 0 / 0.5256 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1147, allocations: 3.938 kB / 0.5256 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1147, allocations: 0 / 0.5256 GB, free: 13.26 MB / 398.1 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.00111/0.1158, allocations: 0.6735 MB / 0.5262 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1159, allocations: 15.89 kB / 0.5263 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.1159, allocations: 54.73 kB / 0.5263 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1161, allocations: 40.7 kB / 0.5263 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1165, allocations: 324.2 kB / 0.5267 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1165, allocations: 16.81 kB / 0.5267 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.1166, allocations: 28.33 kB / 0.5267 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.117, allocations: 246.8 kB / 0.5269 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.117, allocations: 0 / 0.5269 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.1171, allocations: 16 kB / 0.5269 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1171, allocations: 4 kB / 0.527 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.1175, allocations: 177.5 kB / 0.5271 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1187, allocations: 0.8636 MB / 0.528 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.119, allocations: 174.6 kB / 0.5281 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1192, allocations: 100.8 kB / 0.5282 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1192, allocations: 4 kB / 0.5282 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1192, allocations: 34.56 kB / 0.5283 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.1192, allocations: 3.938 kB / 0.5283 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001429/0.1207, allocations: 0.7437 MB / 0.529 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1207, allocations: 59.39 kB / 0.5291 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1211, allocations: 296.5 kB / 0.5293 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1211, allocations: 33.7 kB / 0.5294 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1212, allocations: 180.8 kB / 0.5295 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.1213, allocations: 107.1 kB / 0.5296 GB, free: 8.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1214, allocations: 49.7 kB / 0.5297 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1215, allocations: 346.8 kB / 0.53 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1217, allocations: 71.95 kB / 0.5301 GB, free: 8.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1219, allocations: 114.7 kB / 0.5302 GB, free: 8.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1223, allocations: 188.2 kB / 0.5304 GB, free: 8.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1223, allocations: 4 kB / 0.5304 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006542/0.1229, allocations: 323 kB / 0.5307 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1229, allocations: 4 kB / 0.5307 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1229, allocations: 4.062 kB / 0.5307 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.1232, allocations: 52.81 kB / 0.5307 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.1236, allocations: 79.89 kB / 0.5308 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.1262, allocations: 3.024 MB / 0.5338 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1264, allocations: 24.02 kB / 0.5338 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1264, allocations: 8 kB / 0.5338 GB, free: 4.234 MB / 398.1 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.0001688/0.1266, allocations: 153.7 kB / 0.534 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1267, allocations: 27.81 kB / 0.534 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.1271, allocations: 265.3 kB / 0.5342 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1271, allocations: 4 kB / 0.5342 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1271, allocations: 0 / 0.5342 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1272, allocations: 7.922 kB / 0.5342 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.1281, allocations: 0.6588 MB / 0.5349 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1281, allocations: 0 / 0.5349 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1284, allocations: 63.91 kB / 0.5349 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1284, allocations: 4 kB / 0.535 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1284, allocations: 11.94 kB / 0.535 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1284, allocations: 7.922 kB / 0.535 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1284, allocations: 0 / 0.535 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.1291, allocations: 460.5 kB / 0.5354 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1292, allocations: 125 kB / 0.5355 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1293, allocations: 7.938 kB / 0.5355 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1295, allocations: 7.984 kB / 0.5355 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1295, allocations: 19.98 kB / 0.5356 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1295, allocations: 8 kB / 0.5356 GB, free: 2.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1298, allocations: 211.1 kB / 0.5358 GB, free: 2.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1298, allocations: 0 / 0.5358 GB, free: 2.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1301, allocations: 76 kB / 0.5358 GB, free: 2.035 MB / 398.1 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.0009869/0.1311, allocations: 0.9815 MB / 0.5368 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008492/0.1319, allocations: 362.6 kB / 0.5371 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1319, allocations: 3.938 kB / 0.5372 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1321, allocations: 99.89 kB / 0.5372 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1325, allocations: 62.95 kB / 0.5373 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.1372, allocations: 3.374 MB / 0.5406 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1376, allocations: 0.7837 MB / 0.5414 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1378, allocations: 42.94 kB / 0.5414 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.138, allocations: 115.4 kB / 0.5415 GB, free: 12.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.138, allocations: 0 / 0.5415 GB, free: 12.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.1751, allocations: 7.039 MB / 0.5484 GB, free: 4.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.886/10.06, allocations: 3.969 kB / 0.5484 GB, free: 4.957 MB / 414.1 MB " [Timeout remaining time 650] (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: 13.113798913007486] Failed to read output from testmodel.py, exit status != 0: 10.143186688001151 10.161837945 10.043581289 Calling exit ...