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.001789/0.001789, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002305/0.002305, allocations: 216.5 kB / 23.82 MB, free: 4.48 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.483/1.483, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.03771/0.03771, allocations: 6.135 MB / 320.1 MB, free: 12.74 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.94 kB / 445.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 55.02 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002305/0.1068, allocations: 0.7648 MB / 0.4892 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1087, allocations: 1.194 MB / 0.4904 GB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.1088, allocations: 0 / 0.4904 GB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.1088, allocations: 3.938 kB / 0.4904 GB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1091, allocations: 19.91 kB / 0.4904 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1092, allocations: 31.91 kB / 0.4905 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1094, allocations: 91.81 kB / 0.4905 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.1095, allocations: 4 kB / 0.4905 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.1097, allocations: 51.89 kB / 0.4906 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1098, allocations: 43.83 kB / 0.4906 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.1099, allocations: 12 kB / 0.4906 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.1099, allocations: 19.98 kB / 0.4907 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.11, allocations: 23.97 kB / 0.4907 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.11, allocations: 31.86 kB / 0.4907 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1102, allocations: 87.92 kB / 0.4908 GB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1102, allocations: 3.938 kB / 0.4908 GB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1102, allocations: 0 / 0.4908 GB, free: 11.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1102, allocations: 0 / 0.4908 GB, free: 11.59 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.0009993/0.1112, allocations: 370.1 kB / 0.4912 GB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1112, allocations: 12.02 kB / 0.4912 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.037e-05/0.1113, allocations: 4.188 kB / 0.4912 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1113, allocations: 38.75 kB / 0.4912 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1114, allocations: 12.89 kB / 0.4912 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1115, allocations: 110.5 kB / 0.4913 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.1118, allocations: 186.8 kB / 0.4915 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1118, allocations: 20.11 kB / 0.4915 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.113, allocations: 424.1 kB / 0.4919 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.113, allocations: 0 / 0.4919 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.113, allocations: 4 kB / 0.4919 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.113, allocations: 8 kB / 0.4919 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.1136, allocations: 163.8 kB / 0.4921 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1141, allocations: 325 kB / 0.4924 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1151, allocations: 319.6 kB / 0.4927 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.1155, allocations: 146.5 kB / 0.4929 GB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1155, allocations: 224 / 0.4929 GB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1156, allocations: 42.5 kB / 0.4929 GB, free: 9.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1156, allocations: 0 / 0.4929 GB, free: 9.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00116/0.1167, allocations: 341.5 kB / 0.4932 GB, free: 8.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1168, allocations: 110.8 kB / 0.4933 GB, free: 8.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.1169, allocations: 105.8 kB / 0.4934 GB, free: 8.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.117, allocations: 25.7 kB / 0.4935 GB, free: 8.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.117, allocations: 88.2 kB / 0.4935 GB, free: 8.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.117, allocations: 11.94 kB / 0.4935 GB, free: 8.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.1171, allocations: 25.72 kB / 0.4936 GB, free: 8.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1172, allocations: 326.8 kB / 0.4939 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1173, allocations: 19.98 kB / 0.4939 GB, free: 8.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.1174, allocations: 103 kB / 0.494 GB, free: 7.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1176, allocations: 127 kB / 0.4941 GB, free: 7.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1176, allocations: 7.938 kB / 0.4941 GB, free: 7.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002094/0.1178, allocations: 129.4 kB / 0.4943 GB, free: 7.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1178, allocations: 11.98 kB / 0.4943 GB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1178, allocations: 4 kB / 0.4943 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1178, allocations: 4 kB / 0.4943 GB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1179, allocations: 27.94 kB / 0.4943 GB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1179, allocations: 7.984 kB / 0.4943 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.118, allocations: 12.3 kB / 0.4943 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.118, allocations: 12 kB / 0.4943 GB, free: 7.613 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.0001165/0.1181, allocations: 129.7 kB / 0.4945 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/0.1189, allocations: 225.5 kB / 0.4947 GB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.119, allocations: 53.75 kB / 0.4947 GB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.119, allocations: 7.938 kB / 0.4947 GB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.119, allocations: 0 / 0.4947 GB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.119, allocations: 4 kB / 0.4947 GB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1193, allocations: 148.6 kB / 0.4949 GB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1193, allocations: 7.938 kB / 0.4949 GB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1196, allocations: 44 kB / 0.4949 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1196, allocations: 0 / 0.4949 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1196, allocations: 4 kB / 0.4949 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1196, allocations: 3.984 kB / 0.4949 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1196, allocations: 0 / 0.4949 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.1205, allocations: 435.3 kB / 0.4953 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.1205, allocations: 7.953 kB / 0.4954 GB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1205, allocations: 4 kB / 0.4954 GB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1207, allocations: 27.97 kB / 0.4954 GB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.1208, allocations: 0 / 0.4954 GB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1208, allocations: 11.98 kB / 0.4954 GB, free: 6.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.1208, allocations: 79.28 kB / 0.4955 GB, free: 6.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 0 / 0.4955 GB, free: 6.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.1212, allocations: 27.94 kB / 0.4955 GB, free: 6.324 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.001178/0.1223, allocations: 0.959 MB / 0.4964 GB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.1228, allocations: 143.8 kB / 0.4966 GB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1228, allocations: 0 / 0.4966 GB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.1228, allocations: 11.94 kB / 0.4966 GB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.1235, allocations: 124.8 kB / 0.4967 GB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.1265, allocations: 1.872 MB / 0.4985 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1266, allocations: 83.31 kB / 0.4986 GB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.1267, allocations: 8.5 kB / 0.4986 GB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.1268, allocations: 27.75 kB / 0.4986 GB, free: 2.898 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1268, allocations: 0 / 0.4986 GB, free: 2.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1477, allocations: 2.397 MB / 0.501 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.61, allocations: 7.453 kB / 0.501 GB, free: 0.6367 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.334762835991569] Failed to read output from testmodel.py, exit status != 0: 11.768222115933895 11.785965434 11.672328391 Calling exit ...