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.001347/0.001347, allocations: 120.7 kB / 17.89 MB, free: 5.07 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.001496/0.001496, allocations: 212.5 kB / 20.84 MB, free: 2.125 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.504/1.504, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.03657/0.03657, allocations: 6.137 MB / 316.4 MB, free: 1.094 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 46.33 kB / 439.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09717, allocations: 54.99 MB / 494.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001921/0.09909, allocations: 0.9962 MB / 495.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1001, allocations: 1.135 MB / 497 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1001, allocations: 4 kB / 497 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.1004, allocations: 55.7 kB / 497.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.1005, allocations: 39.77 kB / 497.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.101, allocations: 298.7 kB / 497.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.101, allocations: 75.66 kB / 497.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.902e-05/0.1011, allocations: 24.27 kB / 497.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.1012, allocations: 35.86 kB / 497.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1013, allocations: 39.84 kB / 497.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1013, allocations: 8 kB / 497.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1014, allocations: 83.88 kB / 497.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1014, allocations: 15.94 kB / 497.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1015, allocations: 43.73 kB / 497.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1017, allocations: 143.5 kB / 497.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1017, allocations: 0 / 497.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1017, allocations: 0 / 497.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1017, allocations: 4 kB / 497.9 MB, free: 7.539 MB / 350.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.0006578/0.1023, allocations: 415 kB / 498.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1024, allocations: 12.03 kB / 498.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.371e-05/0.1024, allocations: 192 / 498.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.1024, allocations: 42.73 kB / 498.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1024, allocations: 8.891 kB / 498.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1026, allocations: 180.2 kB / 498.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1026, allocations: 12.36 kB / 498.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1026, allocations: 8.375 kB / 498.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1027, allocations: 85.92 kB / 498.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1027, allocations: 4 kB / 498.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1028, allocations: 0 / 498.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1028, allocations: 0 / 498.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.1029, allocations: 55.97 kB / 498.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.1033, allocations: 376.5 kB / 499.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1035, allocations: 66.62 kB / 499.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1035, allocations: 16.98 kB / 499.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1036, allocations: 85.09 kB / 499.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.1037, allocations: 34.5 kB / 499.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1037, allocations: 0 / 499.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004818/0.1041, allocations: 195.5 kB / 499.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.1042, allocations: 55.41 kB / 499.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.1043, allocations: 117.8 kB / 499.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1043, allocations: 25.7 kB / 499.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.1043, allocations: 108 kB / 499.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1043, allocations: 19.8 kB / 499.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1044, allocations: 25.7 kB / 499.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.1044, allocations: 314.8 kB / 0.4884 GB, free: 5.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.1044, allocations: 12 kB / 0.4884 GB, free: 5.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.1044, allocations: 7.984 kB / 0.4884 GB, free: 5.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.1045, allocations: 32.86 kB / 0.4884 GB, free: 5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1045, allocations: 0 / 0.4884 GB, free: 5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001651/0.1047, allocations: 82.41 kB / 0.4885 GB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1047, allocations: 8 kB / 0.4885 GB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1047, allocations: 4 kB / 0.4885 GB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.1049, allocations: 28.83 kB / 0.4886 GB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.203e-05/0.1049, allocations: 4.375 kB / 0.4886 GB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000741/0.1057, allocations: 1.371 MB / 0.4899 GB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1057, allocations: 11.98 kB / 0.4899 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1057, allocations: 0 / 0.4899 GB, free: 3.332 MB / 350.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 6.682e-05/0.1058, allocations: 122.4 kB / 0.49 GB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1058, allocations: 4 kB / 0.49 GB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.106, allocations: 102.4 kB / 0.4901 GB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.106, allocations: 0 / 0.4901 GB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.106, allocations: 4 kB / 0.4901 GB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.106, allocations: 0 / 0.4901 GB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1062, allocations: 185.5 kB / 0.4903 GB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1062, allocations: 4 kB / 0.4903 GB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1062, allocations: 19.97 kB / 0.4903 GB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.1063, allocations: 24.78 kB / 0.4904 GB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1063, allocations: 3.938 kB / 0.4904 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006581/0.107, allocations: 1.371 MB / 0.4917 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.107, allocations: 0 / 0.4917 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1072, allocations: 196.5 kB / 0.4919 GB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.1072, allocations: 89.06 kB / 0.492 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.1072, allocations: 0 / 0.492 GB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.1073, allocations: 7.984 kB / 0.492 GB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.1073, allocations: 0 / 0.492 GB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1073, allocations: 11.94 kB / 0.492 GB, free: 0.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.1074, allocations: 91.27 kB / 0.4921 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1074, allocations: 0 / 0.4921 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1076, allocations: 24 kB / 0.4921 GB, free: 0.8438 MB / 350.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.0003824/0.108, allocations: 0.7249 MB / 0.4928 GB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1083, allocations: 150.7 kB / 0.4929 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1083, allocations: 0 / 0.4929 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1086, allocations: 142.6 kB / 0.4931 GB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1089, allocations: 16.16 kB / 0.4931 GB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.1107, allocations: 1.413 MB / 0.4945 GB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1111, allocations: 0.6924 MB / 0.4952 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.1111, allocations: 14.78 kB / 0.4952 GB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1112, allocations: 23.44 kB / 0.4952 GB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1112, allocations: 3.938 kB / 0.4952 GB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.1416, allocations: 2.511 MB / 0.4976 GB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.22, allocations: 19.84 kB / 0.4977 GB, free: 11.07 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.92751439998392] Failed to read output from testmodel.py, exit status != 0: 10.365637203969527 10.388811217 10.282958029 Calling exit ...