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.001249/0.001249, allocations: 105 kB / 20.53 MB, free: 1.43 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.001464/0.001464, allocations: 209.5 kB / 23.83 MB, free: 4.641 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.453/1.453, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.03989/0.03989, allocations: 6.132 MB / 320.2 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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 43.92 kB / 445.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09955, allocations: 55.03 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002215/0.1018, allocations: 0.9399 MB / 0.4895 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1034, allocations: 1.225 MB / 0.4907 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1035, allocations: 4 kB / 0.4907 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1038, allocations: 63.69 kB / 0.4907 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1039, allocations: 27.84 kB / 0.4908 GB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.964e-05/0.104, allocations: 35.84 kB / 0.4908 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.1041, allocations: 55.78 kB / 0.4909 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1042, allocations: 23.92 kB / 0.4909 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.1043, allocations: 15.94 kB / 0.4909 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1043, allocations: 31.84 kB / 0.4909 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1044, allocations: 4 kB / 0.4909 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1045, allocations: 71.91 kB / 0.491 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.1045, allocations: 19.94 kB / 0.491 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1046, allocations: 23.88 kB / 0.491 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1048, allocations: 119.5 kB / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1048, allocations: 0 / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1048, allocations: 0 / 0.4912 GB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1048, allocations: 4 kB / 0.4912 GB, free: 11.6 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.0006297/0.1054, allocations: 314 kB / 0.4915 GB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1055, allocations: 12.03 kB / 0.4915 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.1055, allocations: 8.125 kB / 0.4915 GB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1055, allocations: 42.73 kB / 0.4915 GB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.1056, allocations: 8.891 kB / 0.4915 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1057, allocations: 110.5 kB / 0.4916 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1057, allocations: 4.375 kB / 0.4916 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1057, allocations: 8.375 kB / 0.4916 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1059, allocations: 84.59 kB / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1059, allocations: 0 / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1059, allocations: 0 / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1059, allocations: 0 / 0.4917 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.106, allocations: 55.97 kB / 0.4918 GB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.1065, allocations: 315.6 kB / 0.4921 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.1066, allocations: 22.58 kB / 0.4921 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.1066, allocations: 8.922 kB / 0.4921 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.1067, allocations: 7.984 kB / 0.4921 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1067, allocations: 38.56 kB / 0.4922 GB, free: 10.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/0.1067, allocations: 0 / 0.4922 GB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.1069, allocations: 49.58 kB / 0.4922 GB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1069, allocations: 51.41 kB / 0.4923 GB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.107, allocations: 121.8 kB / 0.4924 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.107, allocations: 25.7 kB / 0.4924 GB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1071, allocations: 116 kB / 0.4925 GB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.1071, allocations: 11.94 kB / 0.4925 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1072, allocations: 17.84 kB / 0.4925 GB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1073, allocations: 318.8 kB / 0.4928 GB, free: 9.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1073, allocations: 12 kB / 0.4928 GB, free: 9.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.1074, allocations: 19.98 kB / 0.4929 GB, free: 9.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1074, allocations: 20.86 kB / 0.4929 GB, free: 9.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1074, allocations: 4 kB / 0.4929 GB, free: 9.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.1075, allocations: 69.58 kB / 0.493 GB, free: 9.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1075, allocations: 4 kB / 0.493 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1076, allocations: 0 / 0.493 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1076, allocations: 3.938 kB / 0.493 GB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.1076, allocations: 15.98 kB / 0.493 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1077, allocations: 0 / 0.493 GB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1077, allocations: 4 kB / 0.493 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1077, allocations: 0 / 0.493 GB, free: 9.539 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.284e-05/0.1078, allocations: 113.8 kB / 0.4931 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1078, allocations: 0 / 0.4931 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1079, allocations: 65.09 kB / 0.4932 GB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1079, allocations: 4 kB / 0.4932 GB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1079, allocations: 4.031 kB / 0.4932 GB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1079, allocations: 3.938 kB / 0.4932 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1081, allocations: 144.7 kB / 0.4933 GB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1081, allocations: 0 / 0.4933 GB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.1082, allocations: 8.156 kB / 0.4933 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1082, allocations: 7.938 kB / 0.4933 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1082, allocations: 7.938 kB / 0.4933 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1082, allocations: 0 / 0.4933 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1082, allocations: 0 / 0.4933 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1083, allocations: 139.5 kB / 0.4935 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1083, allocations: 7.984 kB / 0.4935 GB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1083, allocations: 3.938 kB / 0.4935 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.1084, allocations: 0 / 0.4935 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1084, allocations: 4 kB / 0.4935 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1084, allocations: 0 / 0.4935 GB, free: 8.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.298e-05/0.1085, allocations: 91.27 kB / 0.4936 GB, free: 8.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1085, allocations: 0 / 0.4936 GB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1087, allocations: 19.95 kB / 0.4936 GB, free: 8.848 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.000474/0.1092, allocations: 0.6696 MB / 0.4942 GB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1093, allocations: 31.89 kB / 0.4943 GB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1093, allocations: 0 / 0.4943 GB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.1093, allocations: 4 kB / 0.4943 GB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1095, allocations: 4 kB / 0.4943 GB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.11, allocations: 181.1 kB / 0.4944 GB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1103, allocations: 0.6883 MB / 0.4951 GB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.881e-05/0.1103, allocations: 8.062 kB / 0.4951 GB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1104, allocations: 15.44 kB / 0.4951 GB, free: 7.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1104, allocations: 0 / 0.4951 GB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.1315, allocations: 1.799 MB / 0.4969 GB, free: 5.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.3, allocations: 7.688 kB / 0.4969 GB, free: 5.492 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: 13.919189783046022] Failed to read output from testmodel.py, exit status != 0: 11.465178536018357 11.49542553 11.385354063 Calling exit ...