Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.001389/0.001389, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00223/0.00223, allocations: 222.4 kB / 23.03 MB, free: 5.016 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04003/0.04003, allocations: 6.139 MB / 319.4 MB, free: 12.8 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.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 444.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneBank): time 0.002293/0.1191, allocations: 0.9283 MB / 0.4886 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1206, allocations: 1.119 MB / 0.4897 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.1206, allocations: 4 kB / 0.4897 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.1209, allocations: 71.64 kB / 0.4898 GB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.121, allocations: 35.77 kB / 0.4898 GB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1214, allocations: 123.5 kB / 0.4899 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1215, allocations: 59.73 kB / 0.49 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1216, allocations: 28.03 kB / 0.49 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.1217, allocations: 23.94 kB / 0.4901 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.1218, allocations: 43.77 kB / 0.4901 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1218, allocations: 4 kB / 0.4901 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1219, allocations: 63.92 kB / 0.4902 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.122, allocations: 11.92 kB / 0.4902 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.122, allocations: 23.94 kB / 0.4902 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1223, allocations: 127.4 kB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1223, allocations: 0 / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1223, allocations: 0 / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1223, allocations: 0 / 0.4903 GB, free: 11.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006344/0.1229, allocations: 322 kB / 0.4906 GB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1229, allocations: 8.031 kB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.123, allocations: 34.75 kB / 0.4907 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.123, allocations: 12.88 kB / 0.4907 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1231, allocations: 118.5 kB / 0.4908 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1232, allocations: 8.375 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1232, allocations: 8.359 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1234, allocations: 85.92 kB / 0.4909 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1234, allocations: 4 kB / 0.4909 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1234, allocations: 4 kB / 0.4909 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1234, allocations: 0 / 0.4909 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1235, allocations: 63.97 kB / 0.491 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.124, allocations: 307.7 kB / 0.4912 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1241, allocations: 38.58 kB / 0.4913 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.1241, allocations: 12.98 kB / 0.4913 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-05/0.1242, allocations: 11.98 kB / 0.4913 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1243, allocations: 34.56 kB / 0.4913 GB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1243, allocations: 0 / 0.4913 GB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002073/0.1245, allocations: 77.58 kB / 0.4914 GB, free: 10.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1245, allocations: 55.34 kB / 0.4915 GB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.1246, allocations: 110 kB / 0.4916 GB, free: 9.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1246, allocations: 29.7 kB / 0.4916 GB, free: 9.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1247, allocations: 104 kB / 0.4917 GB, free: 9.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1247, allocations: 23.73 kB / 0.4917 GB, free: 9.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1247, allocations: 21.72 kB / 0.4917 GB, free: 9.738 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1249, allocations: 314.8 kB / 0.492 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.1249, allocations: 16 kB / 0.4921 GB, free: 9.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.125, allocations: 20.22 kB / 0.4921 GB, free: 9.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.125, allocations: 36.86 kB / 0.4921 GB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.125, allocations: 7.938 kB / 0.4921 GB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001144/0.1251, allocations: 69.69 kB / 0.4922 GB, free: 9.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1252, allocations: 8 kB / 0.4922 GB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1252, allocations: 0 / 0.4922 GB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1252, allocations: 7.938 kB / 0.4922 GB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.1253, allocations: 8 kB / 0.4922 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1253, allocations: 3.938 kB / 0.4922 GB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.1253, allocations: 7.938 kB / 0.4922 GB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1253, allocations: 4 kB / 0.4922 GB, free: 9.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 8.836e-05/0.1254, allocations: 117.8 kB / 0.4923 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1254, allocations: 0 / 0.4923 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.1256, allocations: 81.62 kB / 0.4924 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1256, allocations: 4 kB / 0.4924 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1256, allocations: 7.922 kB / 0.4924 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1256, allocations: 0 / 0.4924 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1258, allocations: 148.7 kB / 0.4926 GB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1258, allocations: 0 / 0.4926 GB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.1258, allocations: 11.98 kB / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1258, allocations: 0 / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1258, allocations: 0 / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1258, allocations: 0 / 0.4926 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.1259, allocations: 7.938 kB / 0.4926 GB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.126, allocations: 167.6 kB / 0.4928 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.1261, allocations: 7.953 kB / 0.4928 GB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1261, allocations: 4 kB / 0.4928 GB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1261, allocations: 4 kB / 0.4928 GB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.1262, allocations: 11.92 kB / 0.4928 GB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1262, allocations: 3.984 kB / 0.4928 GB, free: 8.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.1262, allocations: 83.28 kB / 0.4929 GB, free: 8.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1262, allocations: 0 / 0.4929 GB, free: 8.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1265, allocations: 23.92 kB / 0.4929 GB, free: 8.473 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 (6): * Single equations (assignments): 6 * 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.0006229/0.1271, allocations: 0.7045 MB / 0.4936 GB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1272, allocations: 36.77 kB / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1272, allocations: 0 / 0.4936 GB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.1273, allocations: 19.94 kB / 0.4936 GB, free: 7.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1275, allocations: 7.938 kB / 0.4936 GB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1289, allocations: 1.317 MB / 0.4949 GB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.129, allocations: 83.19 kB / 0.495 GB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.046e-05/0.129, allocations: 0 / 0.495 GB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.1291, allocations: 19.44 kB / 0.495 GB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1291, allocations: 0 / 0.495 GB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.1558, allocations: 2.365 MB / 0.4973 GB, free: 3.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.54, allocations: 3.094 kB / 0.4973 GB, free: 3.926 MB / 366.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneBank.fmu > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.214733705390245] Failed to read output from testmodel.py, exit status != 0: 11.6470627062954 11.674829788 11.547509420999999 Calling exit ...