Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001788/0.001788, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002219/0.002219, allocations: 225.2 kB / 23.04 MB, free: 4.617 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.0379/0.0379, allocations: 6.143 MB / 319.4 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 52.05 kB / 444.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1132, allocations: 55.02 MB / 499.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002726/0.116, allocations: 1.195 MB / 0.4889 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1178, allocations: 1.221 MB / 0.4901 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.1179, allocations: 4 kB / 0.4901 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1182, allocations: 99.48 kB / 0.4902 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1185, allocations: 59.62 kB / 0.4902 GB, free: 11.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1195, allocations: 0.5445 MB / 0.4908 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1198, allocations: 131.4 kB / 0.4909 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1199, allocations: 49.88 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.12, allocations: 55.78 kB / 0.491 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1201, allocations: 63.64 kB / 0.4911 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1201, allocations: 12 kB / 0.4911 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1204, allocations: 131.9 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1204, allocations: 23.92 kB / 0.4912 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.1205, allocations: 63.72 kB / 0.4913 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.1209, allocations: 251.1 kB / 0.4915 GB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1209, allocations: 0 / 0.4915 GB, free: 10.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1209, allocations: 0 / 0.4915 GB, free: 10.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1209, allocations: 0 / 0.4915 GB, free: 10.1 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.001286/0.1222, allocations: 497.3 kB / 0.492 GB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1222, allocations: 12.03 kB / 0.492 GB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.1223, allocations: 42.75 kB / 0.492 GB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1223, allocations: 16.78 kB / 0.4921 GB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1225, allocations: 150.3 kB / 0.4922 GB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1226, allocations: 8.375 kB / 0.4922 GB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1226, allocations: 12.38 kB / 0.4922 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1229, allocations: 179.9 kB / 0.4924 GB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1229, allocations: 7.875 kB / 0.4924 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1229, allocations: 12 kB / 0.4924 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1229, allocations: 0 / 0.4924 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1232, allocations: 120 kB / 0.4925 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.1239, allocations: 443.4 kB / 0.4929 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.1248, allocations: 146.5 kB / 0.4931 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.1248, allocations: 44.78 kB / 0.4931 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.765e-05/0.1249, allocations: 7.984 kB / 0.4931 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.125, allocations: 34.56 kB / 0.4932 GB, free: 8.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.125, allocations: 0 / 0.4932 GB, free: 8.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001162/0.1261, allocations: 274.6 kB / 0.4934 GB, free: 7.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1262, allocations: 55.44 kB / 0.4935 GB, free: 7.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1263, allocations: 144.5 kB / 0.4936 GB, free: 7.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1263, allocations: 29.7 kB / 0.4937 GB, free: 7.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1264, allocations: 120.2 kB / 0.4938 GB, free: 7.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1264, allocations: 39.69 kB / 0.4938 GB, free: 7.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.1265, allocations: 33.7 kB / 0.4938 GB, free: 7.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1266, allocations: 314.8 kB / 0.4941 GB, free: 7.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1267, allocations: 43.98 kB / 0.4942 GB, free: 7.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.1268, allocations: 59.83 kB / 0.4942 GB, free: 7.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.127, allocations: 109.6 kB / 0.4943 GB, free: 6.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.127, allocations: 0 / 0.4943 GB, free: 6.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005033/0.1275, allocations: 210.2 kB / 0.4945 GB, free: 6.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1275, allocations: 4 kB / 0.4945 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1275, allocations: 0 / 0.4945 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.128, allocations: 80.77 kB / 0.4946 GB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.128, allocations: 12 kB / 0.4946 GB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.13, allocations: 1.537 MB / 0.4961 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.13, allocations: 7.984 kB / 0.4961 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1301, allocations: 11.98 kB / 0.4962 GB, free: 5.008 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 (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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1302, allocations: 129.8 kB / 0.4963 GB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.1302, allocations: 7.953 kB / 0.4963 GB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.1308, allocations: 210.7 kB / 0.4965 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1308, allocations: 0 / 0.4965 GB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1308, allocations: 4 kB / 0.4965 GB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1308, allocations: 0 / 0.4965 GB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.131, allocations: 192.6 kB / 0.4967 GB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.131, allocations: 4 kB / 0.4967 GB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.1311, allocations: 8 kB / 0.4967 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.1314, allocations: 76.77 kB / 0.4968 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1315, allocations: 4 kB / 0.4968 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.1331, allocations: 1.522 MB / 0.4982 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1331, allocations: 0 / 0.4982 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.1336, allocations: 280.2 kB / 0.4985 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.1337, allocations: 15.89 kB / 0.4985 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1337, allocations: 0 / 0.4985 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1338, allocations: 8 kB / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.1338, allocations: 4.125 kB / 0.4985 GB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1338, allocations: 8 kB / 0.4985 GB, free: 2.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.1339, allocations: 95.27 kB / 0.4986 GB, free: 2.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1339, allocations: 0 / 0.4986 GB, free: 2.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1342, allocations: 55.81 kB / 0.4987 GB, free: 2.207 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 (8): * 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: 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009238/0.1352, allocations: 0.834 MB / 0.4995 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.1359, allocations: 242.6 kB / 0.4997 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1359, allocations: 4 kB / 0.4997 GB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.1363, allocations: 202.6 kB / 0.4999 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1365, allocations: 8.875 kB / 0.4999 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.1392, allocations: 1.774 MB / 0.5017 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1393, allocations: 94.28 kB / 0.5018 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.1394, allocations: 12.66 kB / 0.5018 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1394, allocations: 43.42 kB / 0.5018 GB, free: 14.83 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1394, allocations: 0 / 0.5018 GB, free: 14.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.1723, allocations: 4.141 MB / 0.5059 GB, free: 10.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.76, allocations: 17.11 kB / 0.5059 GB, free: 10.81 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.65386623609811] Failed to read output from testmodel.py, exit status != 0: 11.868222080171108 12.081373554 11.957570083 Calling exit ...