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.001302/0.001302, allocations: 101 kB / 20.52 MB, free: 1.449 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.001403/0.001403, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.449/1.449, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.03885/0.03885, allocations: 6.147 MB / 320.2 MB, free: 12.92 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="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.001608/0.001608, allocations: 43.92 kB / 445.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09837, allocations: 55.04 MB / 0.4886 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002412/0.1008, allocations: 1.002 MB / 0.4896 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1024, allocations: 1.139 MB / 0.4907 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.1025, allocations: 7.938 kB / 0.4907 GB, free: 12.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1028, allocations: 59.7 kB / 0.4907 GB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.103, allocations: 35.78 kB / 0.4908 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.1037, allocations: 294.8 kB / 0.491 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1038, allocations: 75.66 kB / 0.4911 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.104, allocations: 24.2 kB / 0.4911 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.104, allocations: 31.92 kB / 0.4912 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1042, allocations: 47.77 kB / 0.4912 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1042, allocations: 8 kB / 0.4912 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1044, allocations: 75.91 kB / 0.4913 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1044, allocations: 23.91 kB / 0.4913 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.1045, allocations: 35.81 kB / 0.4914 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1048, allocations: 139.5 kB / 0.4915 GB, free: 11.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1048, allocations: 4 kB / 0.4915 GB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1048, allocations: 0 / 0.4915 GB, free: 11.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1048, allocations: 0 / 0.4915 GB, free: 11.22 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.0008531/0.1056, allocations: 345.8 kB / 0.4918 GB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.1057, allocations: 12.03 kB / 0.4918 GB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.696e-05/0.1057, allocations: 8.172 kB / 0.4918 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1057, allocations: 38.75 kB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.1058, allocations: 12.89 kB / 0.4919 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.106, allocations: 126.4 kB / 0.492 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.106, allocations: 4.375 kB / 0.492 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.106, allocations: 4.375 kB / 0.492 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1062, allocations: 88.66 kB / 0.4921 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1063, allocations: 0 / 0.4921 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1063, allocations: 4 kB / 0.4921 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1063, allocations: 4 kB / 0.4921 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1064, allocations: 51.97 kB / 0.4922 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007121/0.1071, allocations: 339.6 kB / 0.4925 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.1074, allocations: 74.55 kB / 0.4926 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.1075, allocations: 16.98 kB / 0.4926 GB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.1076, allocations: 8 kB / 0.4926 GB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.1076, allocations: 38.55 kB / 0.4926 GB, free: 9.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.1076, allocations: 0 / 0.4926 GB, free: 9.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005815/0.1082, allocations: 114.3 kB / 0.4927 GB, free: 9.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1083, allocations: 55.41 kB / 0.4928 GB, free: 9.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1084, allocations: 117.8 kB / 0.4929 GB, free: 9.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1085, allocations: 25.7 kB / 0.4929 GB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.1085, allocations: 104.1 kB / 0.493 GB, free: 9.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.1086, allocations: 23.83 kB / 0.493 GB, free: 9.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1086, allocations: 17.72 kB / 0.4931 GB, free: 9.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1087, allocations: 314.8 kB / 0.4934 GB, free: 9.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.1088, allocations: 12 kB / 0.4934 GB, free: 9.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.1088, allocations: 8 kB / 0.4934 GB, free: 9.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.1089, allocations: 32.86 kB / 0.4934 GB, free: 9.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1089, allocations: 384 / 0.4934 GB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002072/0.1091, allocations: 94.36 kB / 0.4935 GB, free: 8.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1091, allocations: 8 kB / 0.4935 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1091, allocations: 3.984 kB / 0.4935 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.1093, allocations: 24.84 kB / 0.4935 GB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.898e-05/0.1094, allocations: 7.938 kB / 0.4935 GB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1106, allocations: 1.283 MB / 0.4948 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.1107, allocations: 160 / 0.4948 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1107, allocations: 8.031 kB / 0.4948 GB, free: 7.512 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.0001043/0.1108, allocations: 113.8 kB / 0.4949 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.1108, allocations: 3.953 kB / 0.4949 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1111, allocations: 106.5 kB / 0.495 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1111, allocations: 0 / 0.495 GB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1111, allocations: 3.984 kB / 0.495 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1111, allocations: 0 / 0.495 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1113, allocations: 161 kB / 0.4952 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1113, allocations: 0 / 0.4952 GB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1114, allocations: 8 kB / 0.4952 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.1115, allocations: 28.83 kB / 0.4952 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1115, allocations: 11.94 kB / 0.4952 GB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.1127, allocations: 1.268 MB / 0.4965 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1127, allocations: 0 / 0.4965 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1129, allocations: 192.4 kB / 0.4966 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.113, allocations: 7.953 kB / 0.4966 GB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.113, allocations: 4 kB / 0.4966 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1131, allocations: 11.97 kB / 0.4967 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.1131, allocations: 0 / 0.4967 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1131, allocations: 11.92 kB / 0.4967 GB, free: 5.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.1132, allocations: 95.28 kB / 0.4968 GB, free: 5.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1132, allocations: 0 / 0.4968 GB, free: 5.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1135, allocations: 23.98 kB / 0.4968 GB, free: 5.277 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.000659/0.1141, allocations: 0.7249 MB / 0.4975 GB, free: 4.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.1145, allocations: 150.6 kB / 0.4976 GB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1145, allocations: 0 / 0.4976 GB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1148, allocations: 138.7 kB / 0.4978 GB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1151, allocations: 19.94 kB / 0.4978 GB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1168, allocations: 1.414 MB / 0.4992 GB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1171, allocations: 0.6964 MB / 0.4998 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.1172, allocations: 3.938 kB / 0.4999 GB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1172, allocations: 31.42 kB / 0.4999 GB, free: 1.938 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1172, allocations: 0 / 0.4999 GB, free: 1.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.1487, allocations: 2.622 MB / 0.5024 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.77, allocations: 4.062 kB / 0.5024 GB, free: 15.45 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.413148178020492] Failed to read output from testmodel.py, exit status != 0: 11.936317894025706 11.956371121 11.847632702 Calling exit ...