Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.001826/0.001826, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002316/0.002316, allocations: 222.4 kB / 23.03 MB, free: 4.621 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.03653/0.03653, allocations: 6.146 MB / 319.4 MB, free: 12.74 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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 51.92 kB / 444.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1529, allocations: 55.01 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.00314/0.156, allocations: 0.983 MB / 0.4887 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.1587, allocations: 1.45 MB / 0.4901 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1588, allocations: 0 / 0.4901 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1593, allocations: 107.5 kB / 0.4902 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1596, allocations: 79.55 kB / 0.4903 GB, free: 11.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.1613, allocations: 0.789 MB / 0.4911 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1616, allocations: 115.4 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1617, allocations: 21.47 kB / 0.4912 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.1618, allocations: 43.84 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.614e-05/0.1619, allocations: 51.77 kB / 0.4913 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1619, allocations: 11.94 kB / 0.4913 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.1623, allocations: 199.8 kB / 0.4915 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.1623, allocations: 23.92 kB / 0.4915 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.1624, allocations: 43.8 kB / 0.4915 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.1629, allocations: 287.1 kB / 0.4918 GB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1629, allocations: 0 / 0.4918 GB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1629, allocations: 0 / 0.4918 GB, free: 9.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1629, allocations: 0 / 0.4918 GB, free: 9.758 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002067/0.165, allocations: 0.5862 MB / 0.4924 GB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.165, allocations: 8.031 kB / 0.4924 GB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.944e-05/0.1651, allocations: 42.75 kB / 0.4924 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1652, allocations: 8.891 kB / 0.4924 GB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1654, allocations: 150.3 kB / 0.4926 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1654, allocations: 8.375 kB / 0.4926 GB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1654, allocations: 8.375 kB / 0.4926 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.1658, allocations: 193.5 kB / 0.4928 GB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1658, allocations: 3.938 kB / 0.4928 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1658, allocations: 4 kB / 0.4928 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1658, allocations: 7.938 kB / 0.4928 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.166, allocations: 127.9 kB / 0.4929 GB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.1668, allocations: 423.6 kB / 0.4933 GB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.1675, allocations: 166.6 kB / 0.4935 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.1676, allocations: 44.8 kB / 0.4935 GB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.1681, allocations: 332.5 kB / 0.4939 GB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1681, allocations: 34.5 kB / 0.4939 GB, free: 7.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/0.1681, allocations: 4 kB / 0.4939 GB, free: 7.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007993/0.1689, allocations: 214.3 kB / 0.4941 GB, free: 7.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.169, allocations: 85.09 kB / 0.4942 GB, free: 7.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1691, allocations: 160 kB / 0.4943 GB, free: 6.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1692, allocations: 29.7 kB / 0.4944 GB, free: 6.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.1693, allocations: 119.9 kB / 0.4945 GB, free: 6.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1693, allocations: 35.7 kB / 0.4945 GB, free: 6.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.1694, allocations: 49.62 kB / 0.4946 GB, free: 6.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1696, allocations: 330.8 kB / 0.4949 GB, free: 6.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1697, allocations: 59.98 kB / 0.4949 GB, free: 6.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1699, allocations: 143.6 kB / 0.4951 GB, free: 6.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1701, allocations: 173.1 kB / 0.4952 GB, free: 5.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1701, allocations: 4 kB / 0.4952 GB, free: 5.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005849/0.1707, allocations: 256.2 kB / 0.4955 GB, free: 5.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1707, allocations: 8 kB / 0.4955 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1708, allocations: 336 / 0.4955 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.1712, allocations: 76.83 kB / 0.4956 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1713, allocations: 35.92 kB / 0.4956 GB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.1729, allocations: 1.381 MB / 0.4969 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1731, allocations: 19.92 kB / 0.497 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.1731, allocations: 12.16 kB / 0.497 GB, free: 4.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.1732, allocations: 140.1 kB / 0.4971 GB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.1733, allocations: 7.953 kB / 0.4971 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.1738, allocations: 187.1 kB / 0.4973 GB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1738, allocations: 4 kB / 0.4973 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1738, allocations: 0 / 0.4973 GB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1738, allocations: 7.922 kB / 0.4973 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.1741, allocations: 188.6 kB / 0.4975 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1741, allocations: 0 / 0.4975 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.1741, allocations: 12 kB / 0.4975 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.1745, allocations: 64.8 kB / 0.4976 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1745, allocations: 4 kB / 0.4976 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.1759, allocations: 1.369 MB / 0.4989 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1759, allocations: 0 / 0.4989 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1764, allocations: 276.2 kB / 0.4992 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.1764, allocations: 15.95 kB / 0.4992 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1764, allocations: 0 / 0.4992 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1765, allocations: 4.219 kB / 0.4992 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1766, allocations: 11.98 kB / 0.4992 GB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1766, allocations: 7.984 kB / 0.4992 GB, free: 1.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1767, allocations: 112.9 kB / 0.4993 GB, free: 1.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.4993 GB, free: 1.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.177, allocations: 51.92 kB / 0.4994 GB, free: 1.441 MB / 366.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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009553/0.178, allocations: 0.8106 MB / 0.5001 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.1787, allocations: 262.6 kB / 0.5004 GB, free: 340 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1787, allocations: 4 kB / 0.5004 GB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.179, allocations: 178.5 kB / 0.5006 GB, free: 144 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.1793, allocations: 8 kB / 0.5006 GB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.1822, allocations: 1.955 MB / 0.5025 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.1823, allocations: 96.61 kB / 0.5026 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.782e-05/0.1824, allocations: 12.97 kB / 0.5026 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.1825, allocations: 35.42 kB / 0.5026 GB, free: 13.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.1825, allocations: 0 / 0.5026 GB, free: 13.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.2221, allocations: 4.114 MB / 0.5066 GB, free: 9.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.06, allocations: 11.69 kB / 0.5067 GB, free: 9.918 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo_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_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.024838965386152] Failed to read output from testmodel.py, exit status != 0: 12.166309088934213 12.354910642 12.189105647 Calling exit ...