Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.00135/0.00135, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001468/0.001468, allocations: 213 kB / 23.81 MB, free: 4.516 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.07972/0.07972, allocations: 6.139 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.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 445.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 55.02 MB / 0.4885 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002341/0.1077, allocations: 0.8894 MB / 0.4894 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1094, allocations: 1.178 MB / 0.4905 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1095, allocations: 4 kB / 0.4905 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1098, allocations: 55.7 kB / 0.4906 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1099, allocations: 27.84 kB / 0.4906 GB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.11, allocations: 35.91 kB / 0.4906 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1102, allocations: 59.66 kB / 0.4907 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1103, allocations: 23.92 kB / 0.4907 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.1103, allocations: 19.94 kB / 0.4907 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.1104, allocations: 31.84 kB / 0.4908 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1104, allocations: 4 kB / 0.4908 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1106, allocations: 67.92 kB / 0.4908 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.1106, allocations: 11.92 kB / 0.4908 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1107, allocations: 23.92 kB / 0.4909 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1109, allocations: 119.6 kB / 0.491 GB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1109, allocations: 3.984 kB / 0.491 GB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1109, allocations: 0 / 0.491 GB, free: 11.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1109, allocations: 0 / 0.491 GB, free: 11.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006482/0.1116, allocations: 314 kB / 0.4913 GB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1116, allocations: 15.97 kB / 0.4913 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.1116, allocations: 192 / 0.4913 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.1117, allocations: 38.75 kB / 0.4913 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.1117, allocations: 4.891 kB / 0.4913 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1119, allocations: 122.4 kB / 0.4914 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1119, allocations: 12.38 kB / 0.4915 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1119, allocations: 4.375 kB / 0.4915 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1121, allocations: 84.66 kB / 0.4915 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1121, allocations: 0 / 0.4915 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1121, allocations: 0 / 0.4915 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1121, allocations: 0 / 0.4915 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.1122, allocations: 43.98 kB / 0.4916 GB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1127, allocations: 307.7 kB / 0.4919 GB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.1127, allocations: 18.58 kB / 0.4919 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.1128, allocations: 20.8 kB / 0.4919 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.1128, allocations: 11.98 kB / 0.4919 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1129, allocations: 34.56 kB / 0.492 GB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1129, allocations: 0 / 0.492 GB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.113, allocations: 45.64 kB / 0.492 GB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1131, allocations: 51.41 kB / 0.4921 GB, free: 10.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1132, allocations: 121.8 kB / 0.4922 GB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1132, allocations: 25.7 kB / 0.4922 GB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1133, allocations: 116 kB / 0.4923 GB, free: 9.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.1133, allocations: 11.94 kB / 0.4923 GB, free: 9.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1133, allocations: 13.72 kB / 0.4923 GB, free: 9.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1135, allocations: 330.9 kB / 0.4926 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.1136, allocations: 8 kB / 0.4926 GB, free: 9.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.1136, allocations: 12 kB / 0.4927 GB, free: 9.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.1136, allocations: 28.84 kB / 0.4927 GB, free: 9.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1136, allocations: 0 / 0.4927 GB, free: 9.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001131/0.1137, allocations: 65.64 kB / 0.4928 GB, free: 9.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1138, allocations: 8 kB / 0.4928 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1138, allocations: 0 / 0.4928 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1138, allocations: 3.938 kB / 0.4928 GB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.1139, allocations: 15.94 kB / 0.4928 GB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1139, allocations: 7.922 kB / 0.4928 GB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1139, allocations: 4 kB / 0.4928 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1139, allocations: 4 kB / 0.4928 GB, free: 9.371 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 (5): * Single equations (assignments): 5 * 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 9.388e-05/0.114, allocations: 109.8 kB / 0.4929 GB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.114, allocations: 4 kB / 0.4929 GB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1142, allocations: 57.16 kB / 0.493 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1142, allocations: 0 / 0.493 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1142, allocations: 0 / 0.493 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1142, allocations: 0 / 0.493 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1144, allocations: 144.7 kB / 0.4931 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1144, allocations: 0 / 0.4931 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.1144, allocations: 12.16 kB / 0.4931 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1144, allocations: 0 / 0.4931 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1144, allocations: 7.938 kB / 0.4931 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1144, allocations: 4 kB / 0.4931 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1144, allocations: 0 / 0.4931 GB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1145, allocations: 135.5 kB / 0.4932 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.1145, allocations: 4 kB / 0.4932 GB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1146, allocations: 3.938 kB / 0.4933 GB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.1146, allocations: 0 / 0.4933 GB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.1146, allocations: 3.984 kB / 0.4933 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1146, allocations: 11.97 kB / 0.4933 GB, free: 8.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.947e-05/0.1147, allocations: 99.56 kB / 0.4934 GB, free: 8.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1147, allocations: 0 / 0.4934 GB, free: 8.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1149, allocations: 15.95 kB / 0.4934 GB, free: 8.691 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 (2): * Single equations (assignments): 2 * 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.0004875/0.1154, allocations: 0.6695 MB / 0.494 GB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1155, allocations: 23.95 kB / 0.4941 GB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1155, allocations: 4 kB / 0.4941 GB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.1156, allocations: 11.94 kB / 0.4941 GB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1158, allocations: 7.938 kB / 0.4941 GB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.1163, allocations: 185.1 kB / 0.4943 GB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.1164, allocations: 75.19 kB / 0.4943 GB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.1164, allocations: 0 / 0.4943 GB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.1165, allocations: 15.44 kB / 0.4943 GB, free: 7.621 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1165, allocations: 8 kB / 0.4943 GB, free: 7.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.137, allocations: 1.795 MB / 0.4961 GB, free: 5.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.26, allocations: 15.28 kB / 0.4961 GB, free: 5.941 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.0466297599487] Failed to read output from testmodel.py, exit status != 0: 11.4265048870584 11.449188835 11.333826677 Calling exit ...