Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.001321/0.001321, 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.001436/0.001436, allocations: 218.7 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04133/0.04133, allocations: 6.145 MB / 319.4 MB, free: 12.85 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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 444.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 55.03 MB / 499.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002319/0.1297, allocations: 0.8969 MB / 0.4886 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1314, allocations: 1.178 MB / 0.4897 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.1315, allocations: 4 kB / 0.4898 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1318, allocations: 55.77 kB / 0.4898 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1319, allocations: 27.78 kB / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.482e-05/0.132, allocations: 39.89 kB / 0.4899 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1321, allocations: 47.8 kB / 0.4899 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1323, allocations: 28.14 kB / 0.4899 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1323, allocations: 23.88 kB / 0.49 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.1324, allocations: 27.84 kB / 0.49 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1324, allocations: 4 kB / 0.49 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1326, allocations: 67.91 kB / 0.4901 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.1326, allocations: 15.92 kB / 0.4901 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1326, allocations: 23.94 kB / 0.4901 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1329, allocations: 115.6 kB / 0.4902 GB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1329, allocations: 0 / 0.4902 GB, free: 11.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1329, allocations: 0 / 0.4902 GB, free: 11.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1329, allocations: 3.938 kB / 0.4902 GB, free: 11.52 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.0006596/0.1335, allocations: 314 kB / 0.4905 GB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1336, allocations: 12.03 kB / 0.4905 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.1336, allocations: 34.75 kB / 0.4906 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1337, allocations: 8.891 kB / 0.4906 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1338, allocations: 114.5 kB / 0.4907 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1338, allocations: 12.38 kB / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1338, allocations: 8.312 kB / 0.4907 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.134, allocations: 78.23 kB / 0.4908 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.134, allocations: 3.938 kB / 0.4908 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.134, allocations: 0 / 0.4908 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1341, allocations: 4 kB / 0.4908 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.1341, allocations: 43.98 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.1347, allocations: 307.7 kB / 0.4911 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.1348, allocations: 22.58 kB / 0.4911 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.1348, allocations: 16.84 kB / 0.4911 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.1349, allocations: 8.047 kB / 0.4912 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1349, allocations: 34.56 kB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1349, allocations: 3.938 kB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.1351, allocations: 41.64 kB / 0.4912 GB, free: 10.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1351, allocations: 55.41 kB / 0.4913 GB, free: 10.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1353, allocations: 117.8 kB / 0.4914 GB, free: 10.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1353, allocations: 29.7 kB / 0.4914 GB, free: 10.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.1353, allocations: 108 kB / 0.4915 GB, free: 9.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.1354, allocations: 15.94 kB / 0.4915 GB, free: 9.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1354, allocations: 21.84 kB / 0.4916 GB, free: 9.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1356, allocations: 318.8 kB / 0.4919 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.1356, allocations: 12 kB / 0.4919 GB, free: 9.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.1356, allocations: 12 kB / 0.4919 GB, free: 9.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.1357, allocations: 32.78 kB / 0.4919 GB, free: 9.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1357, allocations: 0 / 0.4919 GB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.1358, allocations: 73.58 kB / 0.492 GB, free: 9.492 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1358, allocations: 4 kB / 0.492 GB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1358, allocations: 0 / 0.492 GB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1358, allocations: 7.938 kB / 0.492 GB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.1359, allocations: 4 kB / 0.492 GB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1359, allocations: 7.984 kB / 0.492 GB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1359, allocations: 4 kB / 0.492 GB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.136, allocations: 0 / 0.492 GB, free: 9.465 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 9.132e-05/0.136, allocations: 117.8 kB / 0.4921 GB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1361, allocations: 3.953 kB / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1362, allocations: 53.45 kB / 0.4922 GB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1362, allocations: 3.938 kB / 0.4922 GB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1362, allocations: 4 kB / 0.4922 GB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1362, allocations: 0 / 0.4922 GB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1364, allocations: 144.7 kB / 0.4923 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1364, allocations: 4.031 kB / 0.4923 GB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.1364, allocations: 4 kB / 0.4923 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1364, allocations: 0 / 0.4923 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1364, allocations: 4 kB / 0.4923 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1364, allocations: 3.938 kB / 0.4923 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1364, allocations: 0 / 0.4923 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1365, allocations: 139.5 kB / 0.4925 GB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.1366, allocations: 3.953 kB / 0.4925 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1366, allocations: 4 kB / 0.4925 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.1366, allocations: 3.938 kB / 0.4925 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1366, allocations: 4.031 kB / 0.4925 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1366, allocations: 0 / 0.4925 GB, free: 8.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.1367, allocations: 99.27 kB / 0.4926 GB, free: 8.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1367, allocations: 0 / 0.4926 GB, free: 8.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1369, allocations: 12 kB / 0.4926 GB, free: 8.789 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 (2): * Single equations (assignments): 2 * 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.0005001/0.1374, allocations: 0.6734 MB / 0.4933 GB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1376, allocations: 27.98 kB / 0.4933 GB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1376, allocations: 0 / 0.4933 GB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.1376, allocations: 4 kB / 0.4933 GB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1378, allocations: 3.938 kB / 0.4933 GB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.1383, allocations: 189.1 kB / 0.4935 GB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1384, allocations: 75.19 kB / 0.4935 GB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.1384, allocations: 11.92 kB / 0.4936 GB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1385, allocations: 19.5 kB / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1385, allocations: 0 / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.1708, allocations: 2.124 MB / 0.4957 GB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.25, allocations: 2.344 kB / 0.4957 GB, free: 5.703 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.014700453728437] Failed to read output from testmodel.py, exit status != 0: 11.357251123990864 11.377191465 11.240845613 Calling exit ...