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.001296/0.001296, allocations: 100.4 kB / 19.74 MB, free: 1.754 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.001429/0.001429, allocations: 225 kB / 23.03 MB, free: 4.633 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04074/0.04074, allocations: 6.138 MB / 319.4 MB, free: 12.76 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.001555/0.001555, allocations: 51.92 kB / 444.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.111, allocations: 55.03 MB / 499.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002095/0.1131, allocations: 0.7632 MB / 0.4885 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1149, allocations: 1.19 MB / 0.4896 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.115, allocations: 0 / 0.4896 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.115, allocations: 3.938 kB / 0.4896 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1153, allocations: 19.91 kB / 0.4897 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1155, allocations: 31.91 kB / 0.4897 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1157, allocations: 95.75 kB / 0.4898 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1158, allocations: 11.92 kB / 0.4898 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1159, allocations: 43.98 kB / 0.4898 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1161, allocations: 51.8 kB / 0.4899 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1161, allocations: 8 kB / 0.4899 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.1162, allocations: 12 kB / 0.4899 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.1162, allocations: 27.91 kB / 0.4899 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.1163, allocations: 35.8 kB / 0.49 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1164, allocations: 79.77 kB / 0.49 GB, free: 11.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1164, allocations: 0 / 0.49 GB, free: 11.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1165, allocations: 0 / 0.49 GB, free: 11.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1165, allocations: 0 / 0.49 GB, free: 11.63 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.001025/0.1175, allocations: 370.1 kB / 0.4904 GB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1175, allocations: 8.031 kB / 0.4904 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.1176, allocations: 46.73 kB / 0.4904 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1177, allocations: 12.89 kB / 0.4905 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1178, allocations: 114.4 kB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.1181, allocations: 190.8 kB / 0.4907 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1181, allocations: 8.375 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.1193, allocations: 433.2 kB / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1193, allocations: 0 / 0.4912 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1193, allocations: 8 kB / 0.4912 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1193, allocations: 0 / 0.4912 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.12, allocations: 167.8 kB / 0.4913 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.1205, allocations: 325 kB / 0.4916 GB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1216, allocations: 315.5 kB / 0.4919 GB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/0.122, allocations: 146.6 kB / 0.4921 GB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.122, allocations: 8 kB / 0.4921 GB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.122, allocations: 30.56 kB / 0.4921 GB, free: 9.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.122, allocations: 0 / 0.4921 GB, free: 9.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001205/0.1232, allocations: 349.6 kB / 0.4925 GB, free: 8.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.1233, allocations: 110.8 kB / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1235, allocations: 109.9 kB / 0.4927 GB, free: 8.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1235, allocations: 29.7 kB / 0.4927 GB, free: 8.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1235, allocations: 84.14 kB / 0.4928 GB, free: 8.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1236, allocations: 11.94 kB / 0.4928 GB, free: 8.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1236, allocations: 25.72 kB / 0.4928 GB, free: 8.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1238, allocations: 322.8 kB / 0.4931 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.1238, allocations: 19.98 kB / 0.4931 GB, free: 8.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1239, allocations: 103 kB / 0.4932 GB, free: 8.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1241, allocations: 127 kB / 0.4934 GB, free: 7.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1241, allocations: 0 / 0.4934 GB, free: 7.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/0.1243, allocations: 137.3 kB / 0.4935 GB, free: 7.727 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1243, allocations: 4 kB / 0.4935 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1243, allocations: 7.984 kB / 0.4935 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1244, allocations: 4 kB / 0.4935 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1245, allocations: 27.94 kB / 0.4935 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1245, allocations: 8.391 kB / 0.4935 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.1245, allocations: 19.83 kB / 0.4936 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1246, allocations: 8 kB / 0.4936 GB, free: 7.648 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.0001077/0.1247, allocations: 129.7 kB / 0.4937 GB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.1254, allocations: 225.5 kB / 0.4939 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1255, allocations: 53.75 kB / 0.494 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1255, allocations: 0 / 0.494 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1255, allocations: 4 kB / 0.494 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1255, allocations: 0 / 0.494 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.1258, allocations: 160.6 kB / 0.4941 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1258, allocations: 0 / 0.4941 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.126, allocations: 44 kB / 0.4942 GB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.126, allocations: 4 kB / 0.4942 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.126, allocations: 0 / 0.4942 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.126, allocations: 7.984 kB / 0.4942 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.126, allocations: 4 kB / 0.4942 GB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.1269, allocations: 431.3 kB / 0.4946 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.1269, allocations: 15.89 kB / 0.4946 GB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1269, allocations: 8 kB / 0.4946 GB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1272, allocations: 19.97 kB / 0.4946 GB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1272, allocations: 8 kB / 0.4946 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1272, allocations: 4 kB / 0.4946 GB, free: 6.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.1273, allocations: 83.27 kB / 0.4947 GB, free: 6.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1273, allocations: 4 kB / 0.4947 GB, free: 6.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1276, allocations: 20 kB / 0.4947 GB, free: 6.355 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.1288, allocations: 0.9612 MB / 0.4957 GB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.1292, allocations: 143.8 kB / 0.4958 GB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1292, allocations: 0 / 0.4958 GB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.1292, allocations: 16.81 kB / 0.4958 GB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.1299, allocations: 120 kB / 0.4959 GB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.1329, allocations: 1.854 MB / 0.4978 GB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.133, allocations: 83.31 kB / 0.4978 GB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.1331, allocations: 8.5 kB / 0.4978 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.1331, allocations: 27.42 kB / 0.4979 GB, free: 2.941 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1331, allocations: 0 / 0.4979 GB, free: 2.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.1599, allocations: 2.71 MB / 0.5005 GB, free: 368 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.61, allocations: 2.578 kB / 0.5005 GB, free: 368 kB / 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.QfURegulation_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.358906780835241] Failed to read output from testmodel.py, exit status != 0: 11.719546534121037 11.747445479 11.625673728 Calling exit ...