Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.00178/0.00178, allocations: 114 kB / 19.74 MB, free: 1.996 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.002257/0.002257, allocations: 223 kB / 23.05 MB, free: 4.988 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03656/0.03656, allocations: 6.131 MB / 319.4 MB, free: 12.95 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) 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(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 51.92 kB / 444.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 55.03 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003678/0.1168, allocations: 2.195 MB / 0.49 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1194, allocations: 1.739 MB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1195, allocations: 4 kB / 0.4917 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.12, allocations: 151.1 kB / 0.4918 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.1204, allocations: 186.8 kB / 0.492 GB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.1223, allocations: 0.961 MB / 0.4929 GB, free: 8.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.1229, allocations: 410.1 kB / 0.4933 GB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1231, allocations: 95.62 kB / 0.4934 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1233, allocations: 175.3 kB / 0.4936 GB, free: 8.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1237, allocations: 219.1 kB / 0.4938 GB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.1238, allocations: 32 kB / 0.4938 GB, free: 8.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.1242, allocations: 231.8 kB / 0.494 GB, free: 7.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.1243, allocations: 79.69 kB / 0.4941 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1245, allocations: 195 kB / 0.4943 GB, free: 7.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.1253, allocations: 0.5488 MB / 0.4948 GB, free: 7.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1253, allocations: 4 kB / 0.4948 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1253, allocations: 3.938 kB / 0.4948 GB, free: 7.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1253, allocations: 0 / 0.4948 GB, free: 7.02 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00395/0.1293, allocations: 1.074 MB / 0.4959 GB, free: 5.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1293, allocations: 11.98 kB / 0.4959 GB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.702e-05/0.1294, allocations: 66.72 kB / 0.496 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1295, allocations: 48.66 kB / 0.496 GB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.13, allocations: 261.4 kB / 0.4963 GB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.13, allocations: 28.95 kB / 0.4963 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1301, allocations: 36.31 kB / 0.4963 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.1308, allocations: 426.5 kB / 0.4967 GB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1308, allocations: 7.938 kB / 0.4967 GB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1308, allocations: 12 kB / 0.4967 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1308, allocations: 8 kB / 0.4968 GB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006726/0.1315, allocations: 422.5 kB / 0.4972 GB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.134, allocations: 1.499 MB / 0.4986 GB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1352, allocations: 0.5239 MB / 0.4991 GB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.1356, allocations: 249.5 kB / 0.4994 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.1357, allocations: 8.359 kB / 0.4994 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1357, allocations: 50.92 kB / 0.4994 GB, free: 2.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.1357, allocations: 0 / 0.4994 GB, free: 2.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.0048/0.1405, allocations: 1.409 MB / 0.5008 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.1406, allocations: 55.41 kB / 0.5009 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.141, allocations: 269.8 kB / 0.5011 GB, free: 352 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.1411, allocations: 41.7 kB / 0.5012 GB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1413, allocations: 161.1 kB / 0.5013 GB, free: 140 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.1415, allocations: 162.7 kB / 0.5015 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.1416, allocations: 94.17 kB / 0.5016 GB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1418, allocations: 350.5 kB / 0.5019 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1423, allocations: 260.9 kB / 0.5021 GB, free: 15.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.1427, allocations: 276.4 kB / 0.5024 GB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1437, allocations: 0.5809 MB / 0.503 GB, free: 14.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1437, allocations: 4 kB / 0.503 GB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002526/0.1463, allocations: 1.011 MB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.1463, allocations: 4 kB / 0.504 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1463, allocations: 4 kB / 0.504 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.1483, allocations: 426.1 kB / 0.5044 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.1486, allocations: 79.83 kB / 0.5044 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007851/0.1565, allocations: 5.778 MB / 0.5101 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.1569, allocations: 39.67 kB / 0.5101 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.1569, allocations: 19.98 kB / 0.5101 GB, free: 6.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.1572, allocations: 161.8 kB / 0.5103 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.1573, allocations: 39.7 kB / 0.5103 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.1598, allocations: 0.9861 MB / 0.5113 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1598, allocations: 8 kB / 0.5113 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1598, allocations: 3.938 kB / 0.5113 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1598, allocations: 3.984 kB / 0.5113 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.1605, allocations: 0.5394 MB / 0.5118 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1606, allocations: 0 / 0.5118 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.1608, allocations: 55.91 kB / 0.5119 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.1625, allocations: 422.1 kB / 0.5123 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.1626, allocations: 12 kB / 0.5123 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2281/0.3907, allocations: 5.721 MB / 0.5179 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3907, allocations: 3.312 kB / 0.5179 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.3928, allocations: 1.012 MB / 0.5189 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.3929, allocations: 46.14 kB / 0.5189 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.393, allocations: 8.875 kB / 0.5189 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.3933, allocations: 29.69 kB / 0.519 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3934, allocations: 43.12 kB / 0.519 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3935, allocations: 13.66 kB / 0.519 GB, free: 28.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3937, allocations: 197.2 kB / 0.5192 GB, free: 28.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3937, allocations: 3.875 kB / 0.5192 GB, free: 28.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000577/0.3942, allocations: 166.8 kB / 0.5194 GB, free: 28.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/0.3966, allocations: 1.573 MB / 0.5209 GB, free: 27.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.3985, allocations: 1.038 MB / 0.5219 GB, free: 27.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3985, allocations: 0.625 kB / 0.5219 GB, free: 27.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3999, allocations: 0.7403 MB / 0.5226 GB, free: 26.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.4004, allocations: 52.86 kB / 0.5227 GB, free: 26.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.4081, allocations: 4.702 MB / 0.5273 GB, free: 25.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4084, allocations: 0.804 MB / 0.5281 GB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.4086, allocations: 55.72 kB / 0.5281 GB, free: 24.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.4088, allocations: 117 kB / 0.5282 GB, free: 24.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.704e-06/0.4088, allocations: 0 / 0.5282 GB, free: 24.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/0.468, allocations: 14.95 MB / 0.5428 GB, free: 19.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.76, allocations: 8.859 kB / 0.5428 GB, free: 19.5 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.55306104200281] Failed to read output from testmodel.py, exit status != 0: 13.880215731005592 13.89393473 13.766177224 Calling exit ...