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.001305/0.001305, allocations: 97.91 kB / 20.52 MB, free: 1.32 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.001551/0.001551, allocations: 215.6 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.452/1.452, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.03594/0.03594, allocations: 6.142 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 51.92 kB / 445.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09299, allocations: 55.01 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002441/0.09543, allocations: 1.236 MB / 0.4897 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.09728, allocations: 1.388 MB / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.09735, allocations: 4 kB / 0.491 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.09766, allocations: 107.5 kB / 0.4911 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.0979, allocations: 83.47 kB / 0.4912 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.09941, allocations: 0.7994 MB / 0.492 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.09964, allocations: 131.4 kB / 0.4921 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.09977, allocations: 48.91 kB / 0.4922 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.09984, allocations: 63.7 kB / 0.4922 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.09995, allocations: 71.7 kB / 0.4923 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.09997, allocations: 12 kB / 0.4923 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.1003, allocations: 215.8 kB / 0.4925 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.1004, allocations: 27.92 kB / 0.4926 GB, free: 9.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.1004, allocations: 55.67 kB / 0.4926 GB, free: 9.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.1009, allocations: 326.9 kB / 0.4929 GB, free: 9.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1009, allocations: 4 kB / 0.4929 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1009, allocations: 0 / 0.4929 GB, free: 9.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1009, allocations: 0 / 0.4929 GB, free: 9.43 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.00187/0.1028, allocations: 0.5869 MB / 0.4935 GB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1028, allocations: 12.03 kB / 0.4935 GB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.1028, allocations: 4.188 kB / 0.4935 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.1029, allocations: 50.67 kB / 0.4936 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.1029, allocations: 16.84 kB / 0.4936 GB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1032, allocations: 150.3 kB / 0.4937 GB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1032, allocations: 12.38 kB / 0.4937 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.1032, allocations: 16.38 kB / 0.4937 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1036, allocations: 243 kB / 0.494 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1036, allocations: 0 / 0.494 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1036, allocations: 4 kB / 0.494 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1036, allocations: 4 kB / 0.494 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.1038, allocations: 119.9 kB / 0.4941 GB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.1047, allocations: 475.3 kB / 0.4946 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/0.1056, allocations: 154.5 kB / 0.4947 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.1057, allocations: 36.86 kB / 0.4947 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.279e-05/0.1058, allocations: 11.98 kB / 0.4947 GB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1058, allocations: 30.56 kB / 0.4948 GB, free: 7.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1058, allocations: 0 / 0.4948 GB, free: 7.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001246/0.1071, allocations: 274.4 kB / 0.495 GB, free: 7.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1071, allocations: 77.11 kB / 0.4951 GB, free: 7.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1073, allocations: 144.9 kB / 0.4952 GB, free: 6.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1073, allocations: 25.7 kB / 0.4953 GB, free: 6.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.1074, allocations: 132.2 kB / 0.4954 GB, free: 6.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1074, allocations: 27.75 kB / 0.4954 GB, free: 6.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.1075, allocations: 37.7 kB / 0.4955 GB, free: 6.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1076, allocations: 326.8 kB / 0.4958 GB, free: 6.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.1077, allocations: 48.36 kB / 0.4958 GB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1079, allocations: 104.2 kB / 0.4959 GB, free: 6.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.1081, allocations: 121.7 kB / 0.496 GB, free: 6.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1081, allocations: 0 / 0.496 GB, free: 6.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006162/0.1087, allocations: 237.9 kB / 0.4963 GB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1087, allocations: 4 kB / 0.4963 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1087, allocations: 0 / 0.4963 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.1092, allocations: 88.8 kB / 0.4964 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1094, allocations: 27.98 kB / 0.4964 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.1111, allocations: 1.443 MB / 0.4978 GB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1112, allocations: 19.92 kB / 0.4978 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1113, allocations: 4 kB / 0.4978 GB, free: 4.062 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.0001299/0.1114, allocations: 125.8 kB / 0.4979 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1114, allocations: 11.89 kB / 0.4979 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006134/0.112, allocations: 211.1 kB / 0.4981 GB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.112, allocations: 0 / 0.4981 GB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.112, allocations: 4 kB / 0.4981 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.112, allocations: 0 / 0.4981 GB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1123, allocations: 192.6 kB / 0.4983 GB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1123, allocations: 4 kB / 0.4983 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.1124, allocations: 19.94 kB / 0.4984 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.1129, allocations: 84.77 kB / 0.4984 GB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1129, allocations: 8 kB / 0.4984 GB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.1146, allocations: 1.428 MB / 0.4998 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1146, allocations: 0 / 0.4998 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.1152, allocations: 276.2 kB / 0.5001 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.1152, allocations: 19.88 kB / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1153, allocations: 0 / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1154, allocations: 4.094 kB / 0.5001 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1154, allocations: 15.98 kB / 0.5001 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1154, allocations: 4 kB / 0.5001 GB, free: 1.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.1155, allocations: 103.2 kB / 0.5002 GB, free: 1.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1155, allocations: 4 kB / 0.5002 GB, free: 1.367 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.1159, allocations: 55.81 kB / 0.5003 GB, free: 1.312 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.0009512/0.1168, allocations: 0.8147 MB / 0.5011 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.1176, allocations: 258.6 kB / 0.5013 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1176, allocations: 0 / 0.5013 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.1182, allocations: 194.6 kB / 0.5015 GB, free: 0 / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1184, allocations: 4.078 kB / 0.5015 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.1212, allocations: 1.863 MB / 0.5033 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1213, allocations: 109.8 kB / 0.5035 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1214, allocations: 20.64 kB / 0.5035 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.1215, allocations: 39.42 kB / 0.5035 GB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1215, allocations: 0 / 0.5035 GB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1474, allocations: 3.901 MB / 0.5073 GB, free: 10.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.37, allocations: 11.69 kB / 0.5073 GB, free: 10.09 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.218352244934067] Failed to read output from testmodel.py, exit status != 0: 12.541422509937547 12.786287866 12.682446499 Calling exit ...