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.00131/0.00131, allocations: 110 kB / 19.74 MB, free: 1.996 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.001456/0.001456, allocations: 216.5 kB / 23.05 MB, free: 4.996 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.043/0.043, allocations: 6.137 MB / 319.4 MB, free: 12.98 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 52.06 kB / 444.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 55.03 MB / 499.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002488/0.115, allocations: 0.9311 MB / 0.4887 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1168, allocations: 1.236 MB / 0.4899 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.1168, allocations: 4 kB / 0.4899 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1172, allocations: 59.7 kB / 0.49 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1173, allocations: 23.84 kB / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1174, allocations: 39.84 kB / 0.49 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1175, allocations: 51.78 kB / 0.4901 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1177, allocations: 28.2 kB / 0.4901 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.1177, allocations: 23.92 kB / 0.4901 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.1178, allocations: 27.86 kB / 0.4902 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1178, allocations: 4 kB / 0.4902 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.118, allocations: 75.89 kB / 0.4902 GB, free: 11.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1181, allocations: 11.94 kB / 0.4903 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1181, allocations: 27.88 kB / 0.4903 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1184, allocations: 115.6 kB / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1184, allocations: 0 / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1184, allocations: 0 / 0.4904 GB, free: 11.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1184, allocations: 0 / 0.4904 GB, free: 11.68 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.000657/0.119, allocations: 318 kB / 0.4907 GB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1191, allocations: 8.031 kB / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.1191, allocations: 42.69 kB / 0.4907 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1192, allocations: 8.891 kB / 0.4907 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1193, allocations: 118.4 kB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1193, allocations: 8.375 kB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1193, allocations: 4.375 kB / 0.4909 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1195, allocations: 78.23 kB / 0.4909 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1195, allocations: 3.938 kB / 0.491 GB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1195, allocations: 4 kB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1195, allocations: 4 kB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.1196, allocations: 47.92 kB / 0.491 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.1202, allocations: 315.6 kB / 0.4913 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.1202, allocations: 26.52 kB / 0.4913 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.1202, allocations: 8.859 kB / 0.4913 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.1203, allocations: 12.05 kB / 0.4914 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1204, allocations: 30.56 kB / 0.4914 GB, free: 10.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1204, allocations: 0 / 0.4914 GB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000172/0.1205, allocations: 45.64 kB / 0.4914 GB, free: 10.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1206, allocations: 55.34 kB / 0.4915 GB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1207, allocations: 121.8 kB / 0.4916 GB, free: 10.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1207, allocations: 33.69 kB / 0.4916 GB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1208, allocations: 108.1 kB / 0.4917 GB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.1208, allocations: 15.94 kB / 0.4917 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1209, allocations: 13.72 kB / 0.4918 GB, free: 10.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.121, allocations: 322.8 kB / 0.4921 GB, free: 9.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.121, allocations: 8 kB / 0.4921 GB, free: 9.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.1211, allocations: 12.12 kB / 0.4921 GB, free: 9.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.1211, allocations: 32.84 kB / 0.4921 GB, free: 9.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1211, allocations: 0 / 0.4921 GB, free: 9.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001183/0.1212, allocations: 73.58 kB / 0.4922 GB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1213, allocations: 12 kB / 0.4922 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1213, allocations: 0 / 0.4922 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1213, allocations: 3.938 kB / 0.4922 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.1214, allocations: 11.98 kB / 0.4922 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1214, allocations: 0 / 0.4922 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1214, allocations: 0 / 0.4922 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1214, allocations: 3.984 kB / 0.4922 GB, free: 9.605 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.33e-05/0.1215, allocations: 113.8 kB / 0.4923 GB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1215, allocations: 4 kB / 0.4923 GB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1216, allocations: 61.16 kB / 0.4924 GB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1217, allocations: 3.938 kB / 0.4924 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1217, allocations: 0 / 0.4924 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1217, allocations: 0 / 0.4924 GB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1218, allocations: 148.7 kB / 0.4925 GB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1218, allocations: 0 / 0.4925 GB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.1219, allocations: 4 kB / 0.4925 GB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1219, allocations: 3.938 kB / 0.4925 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1219, allocations: 0 / 0.4925 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1219, allocations: 3.938 kB / 0.4925 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1219, allocations: 8.016 kB / 0.4925 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.122, allocations: 131.6 kB / 0.4927 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.122, allocations: 64 / 0.4927 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1221, allocations: 11.98 kB / 0.4927 GB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.1221, allocations: 3.938 kB / 0.4927 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.1221, allocations: 0 / 0.4927 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.1221, allocations: 0 / 0.4927 GB, free: 9.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.1222, allocations: 103.2 kB / 0.4928 GB, free: 8.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1222, allocations: 0 / 0.4928 GB, free: 8.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1225, allocations: 19.89 kB / 0.4928 GB, free: 8.918 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.0004955/0.123, allocations: 0.6735 MB / 0.4935 GB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1231, allocations: 23.98 kB / 0.4935 GB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1231, allocations: 3.938 kB / 0.4935 GB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.1231, allocations: 4 kB / 0.4935 GB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1233, allocations: 10.59 kB / 0.4935 GB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.1238, allocations: 181.1 kB / 0.4937 GB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.1242, allocations: 0.6884 MB / 0.4944 GB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.1242, allocations: 7.984 kB / 0.4944 GB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1243, allocations: 15.44 kB / 0.4944 GB, free: 7.227 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1243, allocations: 0 / 0.4944 GB, free: 7.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1522, allocations: 1.758 MB / 0.4961 GB, free: 5.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.07, allocations: 8.781 kB / 0.4961 GB, free: 5.586 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: 13.745828998973593] Failed to read output from testmodel.py, exit status != 0: 11.177793484181166 11.208916375 11.084672237 Calling exit ...