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.001321/0.001321, allocations: 114.9 kB / 17.88 MB, free: 5.051 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.001605/0.001605, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.492/1.492, 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.04135/0.04135, allocations: 6.138 MB / 316.4 MB, free: 1.117 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.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: 49.08 kB / 439.9 MB, free: 40.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 54.98 MB / 494.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002357/0.1059, allocations: 0.7723 MB / 495.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1077, allocations: 1.229 MB / 496.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.1078, allocations: 3.938 kB / 496.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.862e-05/0.1078, allocations: 0 / 496.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.1082, allocations: 23.84 kB / 496.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1084, allocations: 27.97 kB / 497 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1086, allocations: 95.8 kB / 497.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1087, allocations: 4 kB / 497.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1089, allocations: 47.84 kB / 497.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1091, allocations: 47.88 kB / 497.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1091, allocations: 8 kB / 497.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.1092, allocations: 12 kB / 497.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.1092, allocations: 31.89 kB / 497.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.1093, allocations: 35.86 kB / 497.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1094, allocations: 87.98 kB / 497.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1094, allocations: 0 / 497.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1094, allocations: 0 / 497.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1094, allocations: 4 kB / 497.3 MB, free: 8.176 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001039/0.1105, allocations: 439.2 kB / 497.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1105, allocations: 12.03 kB / 497.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.708e-05/0.1106, allocations: 16.06 kB / 497.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.1106, allocations: 42.73 kB / 497.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.1107, allocations: 8.891 kB / 497.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1109, allocations: 164.4 kB / 498 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.111, allocations: 62.23 kB / 498.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1111, allocations: 12.12 kB / 498.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1122, allocations: 423.5 kB / 498.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1122, allocations: 4 kB / 498.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1122, allocations: 4 kB / 498.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1122, allocations: 7.984 kB / 498.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.1127, allocations: 163.9 kB / 498.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.1131, allocations: 369.8 kB / 499 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.114, allocations: 319.6 kB / 499.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.1144, allocations: 146.5 kB / 499.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1144, allocations: 4 kB / 499.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1144, allocations: 42.7 kB / 499.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.1144, allocations: 4 kB / 499.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001071/0.1155, allocations: 341.5 kB / 499.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1155, allocations: 114.8 kB / 500 MB, free: 5.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.1156, allocations: 93.86 kB / 0.4883 GB, free: 5.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1156, allocations: 29.7 kB / 0.4884 GB, free: 5.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1157, allocations: 88.28 kB / 0.4885 GB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1157, allocations: 11.94 kB / 0.4885 GB, free: 5.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1157, allocations: 29.7 kB / 0.4885 GB, free: 5.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.1158, allocations: 326.8 kB / 0.4888 GB, free: 4.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.1158, allocations: 23.92 kB / 0.4888 GB, free: 4.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.1159, allocations: 95.14 kB / 0.4889 GB, free: 4.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.116, allocations: 131 kB / 0.489 GB, free: 4.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.116, allocations: 0 / 0.489 GB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001532/0.1161, allocations: 141.3 kB / 0.4892 GB, free: 4.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1161, allocations: 4 kB / 0.4892 GB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1161, allocations: 4 kB / 0.4892 GB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1162, allocations: 4 kB / 0.4892 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1162, allocations: 27.92 kB / 0.4892 GB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1162, allocations: 4 kB / 0.4892 GB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.1163, allocations: 15.89 kB / 0.4892 GB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1163, allocations: 8.375 kB / 0.4892 GB, free: 4.148 MB / 350.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 6.709e-05/0.1164, allocations: 138.2 kB / 0.4894 GB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/0.117, allocations: 221.6 kB / 0.4896 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1171, allocations: 57.59 kB / 0.4896 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1171, allocations: 0 / 0.4896 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1171, allocations: 4 kB / 0.4896 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1171, allocations: 3.984 kB / 0.4896 GB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1174, allocations: 189.5 kB / 0.4898 GB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1174, allocations: 0 / 0.4898 GB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1176, allocations: 47.98 kB / 0.4899 GB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1176, allocations: 4 kB / 0.4899 GB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1176, allocations: 11.94 kB / 0.4899 GB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1176, allocations: 0 / 0.4899 GB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1176, allocations: 7.938 kB / 0.4899 GB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.1183, allocations: 435.4 kB / 0.4903 GB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.1184, allocations: 85.06 kB / 0.4904 GB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.1184, allocations: 0 / 0.4904 GB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1186, allocations: 35.91 kB / 0.4904 GB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.1186, allocations: 0 / 0.4904 GB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1186, allocations: 4 kB / 0.4904 GB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.524e-05/0.1187, allocations: 83.28 kB / 0.4905 GB, free: 2.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1187, allocations: 0 / 0.4905 GB, free: 2.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.119, allocations: 23.94 kB / 0.4905 GB, free: 2.703 MB / 350.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.0008334/0.1198, allocations: 0.9506 MB / 0.4915 GB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1202, allocations: 153.8 kB / 0.4916 GB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1202, allocations: 0 / 0.4916 GB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.1202, allocations: 12.8 kB / 0.4916 GB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.1209, allocations: 120.6 kB / 0.4917 GB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.1234, allocations: 1.856 MB / 0.4935 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1238, allocations: 0.7079 MB / 0.4942 GB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1239, allocations: 4.766 kB / 0.4942 GB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.1239, allocations: 19.42 kB / 0.4943 GB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1239, allocations: 0 / 0.4943 GB, free: 14.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.1427, allocations: 2.202 MB / 0.4964 GB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/8.804, allocations: 8.5 kB / 0.4964 GB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.623680229007732] Failed to read output from testmodel.py, exit status != 0: 8.926344943989534 8.941706743 8.829260031 Calling exit ...