Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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.001316/0.001316, 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.001922/0.001922, allocations: 221.4 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.04266/0.04266, allocations: 6.142 MB / 319.4 MB, free: 12.79 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.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 43.94 kB / 444.4 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 55.03 MB / 499.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002489/0.1096, allocations: 0.769 MB / 0.4885 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1117, allocations: 1.19 MB / 0.4896 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.1118, allocations: 0 / 0.4896 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.1119, allocations: 3.938 kB / 0.4896 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1121, allocations: 15.91 kB / 0.4897 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1123, allocations: 31.91 kB / 0.4897 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1124, allocations: 99.75 kB / 0.4898 GB, free: 11.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.1125, allocations: 7.922 kB / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1128, allocations: 39.97 kB / 0.4898 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1129, allocations: 47.81 kB / 0.4899 GB, free: 11.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.113, allocations: 12 kB / 0.4899 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.113, allocations: 16 kB / 0.4899 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1131, allocations: 27.91 kB / 0.4899 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.1131, allocations: 35.84 kB / 0.49 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1133, allocations: 75.78 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1133, allocations: 4 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1133, allocations: 3.938 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1133, allocations: 0 / 0.49 GB, free: 11.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001069/0.1144, allocations: 370 kB / 0.4904 GB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1144, allocations: 12.03 kB / 0.4904 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.1145, allocations: 34.75 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1146, allocations: 12.89 kB / 0.4905 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1147, allocations: 118.4 kB / 0.4906 GB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.115, allocations: 190.8 kB / 0.4907 GB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.115, allocations: 8.375 kB / 0.4908 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1163, allocations: 427.6 kB / 0.4912 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1163, allocations: 0 / 0.4912 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1163, allocations: 7.984 kB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1163, allocations: 0 / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.1169, allocations: 171.8 kB / 0.4913 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1174, allocations: 325 kB / 0.4916 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1185, allocations: 319.5 kB / 0.4919 GB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.1188, allocations: 142.6 kB / 0.4921 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1189, allocations: 4 kB / 0.4921 GB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1189, allocations: 38.56 kB / 0.4921 GB, free: 9.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1189, allocations: 0 / 0.4921 GB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001156/0.1201, allocations: 345.6 kB / 0.4925 GB, free: 8.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.1202, allocations: 110.8 kB / 0.4926 GB, free: 8.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.1202, allocations: 105.8 kB / 0.4927 GB, free: 8.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1203, allocations: 25.7 kB / 0.4927 GB, free: 8.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.1203, allocations: 84.2 kB / 0.4928 GB, free: 8.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1204, allocations: 15.94 kB / 0.4928 GB, free: 8.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1204, allocations: 25.72 kB / 0.4928 GB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1206, allocations: 326.8 kB / 0.4931 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.1206, allocations: 15.98 kB / 0.4931 GB, free: 8.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1207, allocations: 99.09 kB / 0.4932 GB, free: 8.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1209, allocations: 131 kB / 0.4934 GB, free: 7.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1209, allocations: 0 / 0.4934 GB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002121/0.1211, allocations: 141.2 kB / 0.4935 GB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1211, allocations: 8 kB / 0.4935 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1211, allocations: 0 / 0.4935 GB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1211, allocations: 4 kB / 0.4935 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1212, allocations: 23.98 kB / 0.4935 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.1212, allocations: 7.938 kB / 0.4935 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.1213, allocations: 19.83 kB / 0.4935 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1213, allocations: 8.406 kB / 0.4936 GB, free: 7.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (14): * Single equations (assignments): 14 * 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 0.0001159/0.1214, allocations: 133.7 kB / 0.4937 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/0.1222, allocations: 225.5 kB / 0.4939 GB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.1223, allocations: 53.75 kB / 0.4939 GB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.1223, allocations: 4 kB / 0.494 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1223, allocations: 0 / 0.494 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1224, allocations: 0 / 0.494 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1226, allocations: 148.6 kB / 0.4941 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1226, allocations: 0 / 0.4941 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.1229, allocations: 59.92 kB / 0.4942 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1229, allocations: 0 / 0.4942 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1229, allocations: 4 kB / 0.4942 GB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1229, allocations: 4 kB / 0.4942 GB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1229, allocations: 0 / 0.4942 GB, free: 7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.1238, allocations: 438 kB / 0.4946 GB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.1238, allocations: 11.89 kB / 0.4946 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1238, allocations: 7.984 kB / 0.4946 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1241, allocations: 23.98 kB / 0.4946 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.1241, allocations: 3.984 kB / 0.4946 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1241, allocations: 8 kB / 0.4946 GB, free: 6.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.399e-05/0.1241, allocations: 79.47 kB / 0.4947 GB, free: 6.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1241, allocations: 0 / 0.4947 GB, free: 6.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1245, allocations: 20 kB / 0.4947 GB, free: 6.402 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.00127/0.1257, allocations: 0.9623 MB / 0.4957 GB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.1262, allocations: 147.8 kB / 0.4958 GB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1262, allocations: 0 / 0.4958 GB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.1262, allocations: 11.94 kB / 0.4958 GB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007102/0.1269, allocations: 121.4 kB / 0.4959 GB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.1302, allocations: 1.865 MB / 0.4978 GB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.1303, allocations: 91.31 kB / 0.4978 GB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.1304, allocations: 8.562 kB / 0.4978 GB, free: 3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.1304, allocations: 27.48 kB / 0.4979 GB, free: 2.973 MB / 366.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1304, allocations: 0 / 0.4979 GB, free: 2.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1587, allocations: 2.695 MB / 0.5005 GB, free: 408 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.17, allocations: 6.578 kB / 0.5005 GB, free: 404 kB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.768180465791374] Failed to read output from testmodel.py, exit status != 0: 11.279594040941447 11.296312206 11.179564747 Calling exit ...