Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.001298/0.001298, allocations: 118 kB / 19.74 MB, free: 2.152 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.001426/0.001426, allocations: 220.3 kB / 23.05 MB, free: 5 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.03973/0.03973, allocations: 6.133 MB / 319.4 MB, free: 13.06 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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 51.91 kB / 444.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1136, allocations: 55.02 MB / 499.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.003482/0.1171, allocations: 1.328 MB / 0.4891 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1195, allocations: 1.466 MB / 0.4905 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1196, allocations: 0 / 0.4905 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.12, allocations: 107.5 kB / 0.4906 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1203, allocations: 87.47 kB / 0.4907 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1221, allocations: 0.8753 MB / 0.4916 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.1224, allocations: 139.3 kB / 0.4917 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1226, allocations: 54.36 kB / 0.4917 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.1227, allocations: 55.8 kB / 0.4918 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1228, allocations: 67.69 kB / 0.4919 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1229, allocations: 12 kB / 0.4919 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.1233, allocations: 219.8 kB / 0.4921 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1234, allocations: 39.84 kB / 0.4921 GB, free: 9.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.1235, allocations: 63.67 kB / 0.4922 GB, free: 9.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.124, allocations: 323 kB / 0.4925 GB, free: 9.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.124, allocations: 3.938 kB / 0.4925 GB, free: 9.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.124, allocations: 4 kB / 0.4925 GB, free: 9.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1241, allocations: 0 / 0.4925 GB, free: 9.535 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002044/0.1261, allocations: 0.5947 MB / 0.4931 GB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1261, allocations: 8.031 kB / 0.4931 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.1262, allocations: 46.73 kB / 0.4931 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.1263, allocations: 20.84 kB / 0.4932 GB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1265, allocations: 158.3 kB / 0.4933 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1265, allocations: 8.375 kB / 0.4933 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1265, allocations: 12.38 kB / 0.4933 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.1269, allocations: 179.9 kB / 0.4935 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1269, allocations: 3.938 kB / 0.4935 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1269, allocations: 0 / 0.4935 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.1269, allocations: 7.984 kB / 0.4935 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1272, allocations: 116 kB / 0.4936 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.1281, allocations: 0.511 MB / 0.4941 GB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/0.1291, allocations: 154.6 kB / 0.4943 GB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.1291, allocations: 40.78 kB / 0.4943 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.542e-05/0.1292, allocations: 8.172 kB / 0.4943 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1293, allocations: 46.48 kB / 0.4944 GB, free: 7.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1293, allocations: 0 / 0.4944 GB, free: 7.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00126/0.1305, allocations: 258.3 kB / 0.4946 GB, free: 7.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.1306, allocations: 81.11 kB / 0.4947 GB, free: 7.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1307, allocations: 144.7 kB / 0.4948 GB, free: 6.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1308, allocations: 33.7 kB / 0.4949 GB, free: 6.945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.1309, allocations: 124.2 kB / 0.495 GB, free: 6.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1309, allocations: 31.73 kB / 0.495 GB, free: 6.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.131, allocations: 33.7 kB / 0.495 GB, free: 6.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1311, allocations: 327.1 kB / 0.4953 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.1312, allocations: 47.98 kB / 0.4954 GB, free: 6.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1314, allocations: 74.56 kB / 0.4955 GB, free: 6.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1316, allocations: 129.3 kB / 0.4956 GB, free: 6.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1316, allocations: 3.938 kB / 0.4956 GB, free: 6.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006209/0.1322, allocations: 230.3 kB / 0.4958 GB, free: 5.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1322, allocations: 4 kB / 0.4958 GB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1322, allocations: 4.062 kB / 0.4958 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.1328, allocations: 80.78 kB / 0.4959 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1329, allocations: 27.92 kB / 0.4959 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1349, allocations: 1.447 MB / 0.4973 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.135, allocations: 23.91 kB / 0.4974 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.135, allocations: 8 kB / 0.4974 GB, free: 4.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 13 * 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.0001574/0.1352, allocations: 125.9 kB / 0.4975 GB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.1353, allocations: 15.89 kB / 0.4975 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.1359, allocations: 195.2 kB / 0.4977 GB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1359, allocations: 3.984 kB / 0.4977 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1359, allocations: 0 / 0.4977 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1359, allocations: 4 kB / 0.4977 GB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.1362, allocations: 212.5 kB / 0.4979 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1362, allocations: 0 / 0.4979 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.1363, allocations: 23.94 kB / 0.4979 GB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/0.1368, allocations: 80.77 kB / 0.498 GB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1368, allocations: 8 kB / 0.498 GB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.1385, allocations: 1.432 MB / 0.4994 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1385, allocations: 0 / 0.4994 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.1392, allocations: 280.3 kB / 0.4997 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1392, allocations: 15.83 kB / 0.4997 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1392, allocations: 4 kB / 0.4997 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1393, allocations: 8 kB / 0.4997 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1394, allocations: 11.92 kB / 0.4997 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1394, allocations: 8 kB / 0.4997 GB, free: 1.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.739e-05/0.1395, allocations: 103.2 kB / 0.4998 GB, free: 1.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1395, allocations: 0 / 0.4998 GB, free: 1.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1398, allocations: 55.89 kB / 0.4999 GB, free: 1.449 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 (10): * Single equations (assignments): 9 * 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.001014/0.1408, allocations: 0.8185 MB / 0.5007 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.1417, allocations: 254.6 kB / 0.5009 GB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1417, allocations: 0 / 0.5009 GB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.1423, allocations: 194.9 kB / 0.5011 GB, free: 140 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1425, allocations: 8.219 kB / 0.5011 GB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.1455, allocations: 1.859 MB / 0.5029 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.1459, allocations: 0.7119 MB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.146, allocations: 12.64 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.1461, allocations: 47.42 kB / 0.5037 GB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1461, allocations: 0 / 0.5037 GB, free: 13.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.1803, allocations: 3.775 MB / 0.5074 GB, free: 9.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.67, allocations: 7.922 kB / 0.5074 GB, free: 9.73 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.494657345116138] Failed to read output from testmodel.py, exit status != 0: 11.778783046174794 11.976668513 11.84985661 Calling exit ...