Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001387/0.001387, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001566/0.001566, allocations: 218.3 kB / 23.03 MB, free: 5.016 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.04357/0.04357, allocations: 6.133 MB / 319.4 MB, free: 12.81 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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 51.92 kB / 444.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1572, allocations: 55.01 MB / 499.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.003034/0.1603, allocations: 0.9627 MB / 0.4887 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1622, allocations: 1.104 MB / 0.4897 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.1623, allocations: 7.938 kB / 0.4897 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1626, allocations: 55.7 kB / 0.4898 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1628, allocations: 39.77 kB / 0.4898 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.1637, allocations: 263 kB / 0.4901 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1639, allocations: 79.64 kB / 0.4902 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.164, allocations: 23.92 kB / 0.4902 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.1641, allocations: 35.81 kB / 0.4902 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1643, allocations: 43.83 kB / 0.4903 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1643, allocations: 4 kB / 0.4903 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.1645, allocations: 75.91 kB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.1645, allocations: 15.97 kB / 0.4904 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.1646, allocations: 31.86 kB / 0.4904 GB, free: 11.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1649, allocations: 139.5 kB / 0.4905 GB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1649, allocations: 0 / 0.4905 GB, free: 11.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1649, allocations: 0 / 0.4905 GB, free: 11.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1649, allocations: 0 / 0.4905 GB, free: 11.19 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009204/0.1658, allocations: 349.9 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1659, allocations: 8.031 kB / 0.4909 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.166, allocations: 38.75 kB / 0.4909 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.166, allocations: 8.891 kB / 0.4909 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1662, allocations: 126.4 kB / 0.491 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1662, allocations: 8.375 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1662, allocations: 4.375 kB / 0.491 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1665, allocations: 133.6 kB / 0.4912 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1665, allocations: 3.938 kB / 0.4912 GB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1665, allocations: 8 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1665, allocations: 3.938 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1666, allocations: 59.91 kB / 0.4912 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.1673, allocations: 307.7 kB / 0.4915 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.1676, allocations: 70.56 kB / 0.4916 GB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.1676, allocations: 20.97 kB / 0.4916 GB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-05/0.1677, allocations: 4 kB / 0.4916 GB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.1677, allocations: 38.5 kB / 0.4917 GB, free: 9.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1677, allocations: 4 kB / 0.4917 GB, free: 9.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005496/0.1683, allocations: 126.3 kB / 0.4918 GB, free: 9.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1683, allocations: 51.41 kB / 0.4918 GB, free: 9.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1685, allocations: 117.8 kB / 0.4919 GB, free: 9.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1685, allocations: 25.7 kB / 0.492 GB, free: 9.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1686, allocations: 104.1 kB / 0.4921 GB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1686, allocations: 23.8 kB / 0.4921 GB, free: 9.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.1687, allocations: 21.7 kB / 0.4921 GB, free: 9.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1688, allocations: 314.8 kB / 0.4924 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.1688, allocations: 8 kB / 0.4924 GB, free: 9.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.1689, allocations: 15.98 kB / 0.4924 GB, free: 9.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.1689, allocations: 37.17 kB / 0.4925 GB, free: 8.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1689, allocations: 4 kB / 0.4925 GB, free: 8.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.1691, allocations: 78.47 kB / 0.4925 GB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1692, allocations: 8 kB / 0.4926 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1692, allocations: 0 / 0.4926 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.1694, allocations: 28.83 kB / 0.4926 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.639e-05/0.1694, allocations: 8 kB / 0.4926 GB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.1708, allocations: 1.268 MB / 0.4938 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.1709, allocations: 15.92 kB / 0.4938 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1709, allocations: 0 / 0.4938 GB, free: 7.445 MB / 366.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 (4): * Single equations (assignments): 3 * 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.0001241/0.171, allocations: 122 kB / 0.494 GB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1711, allocations: 4 kB / 0.494 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.1713, allocations: 102.5 kB / 0.4941 GB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1713, allocations: 3.938 kB / 0.4941 GB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1713, allocations: 4.375 kB / 0.4941 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1713, allocations: 128 / 0.4941 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1716, allocations: 156.7 kB / 0.4942 GB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1716, allocations: 0 / 0.4942 GB, free: 7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.1716, allocations: 7.938 kB / 0.4942 GB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.1717, allocations: 36.77 kB / 0.4943 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1718, allocations: 4 kB / 0.4943 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.173, allocations: 1.26 MB / 0.4955 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.173, allocations: 0 / 0.4955 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1733, allocations: 196.4 kB / 0.4957 GB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.1733, allocations: 11.94 kB / 0.4957 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1733, allocations: 0 / 0.4957 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.1734, allocations: 4 kB / 0.4957 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1734, allocations: 7.984 kB / 0.4957 GB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1734, allocations: 4 kB / 0.4957 GB, free: 5.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.1735, allocations: 99.2 kB / 0.4958 GB, free: 5.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1735, allocations: 0 / 0.4958 GB, free: 5.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1738, allocations: 23.94 kB / 0.4958 GB, free: 5.215 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 (5): * Single equations (assignments): 4 * 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.0007555/0.1746, allocations: 0.7249 MB / 0.4965 GB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.1749, allocations: 154.7 kB / 0.4967 GB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1749, allocations: 4 kB / 0.4967 GB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.1752, allocations: 138.7 kB / 0.4968 GB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1755, allocations: 15.94 kB / 0.4968 GB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1775, allocations: 1.41 MB / 0.4982 GB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1776, allocations: 79.33 kB / 0.4983 GB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.1776, allocations: 7.938 kB / 0.4983 GB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1777, allocations: 27.42 kB / 0.4983 GB, free: 2.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1777, allocations: 0 / 0.4983 GB, free: 2.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04003/0.2177, allocations: 3.039 MB / 0.5013 GB, free: 15.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.75, allocations: 6.344 kB / 0.5013 GB, free: 15.6 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.512945553753525] Failed to read output from testmodel.py, exit status != 0: 11.865834109019488 11.890604527 11.720932721 Calling exit ...