Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.001813/0.001813, 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.002307/0.002307, allocations: 223.6 kB / 23.03 MB, free: 4.621 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.03675/0.03675, allocations: 6.132 MB / 319.4 MB, free: 12.73 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.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.92 kB / 444.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1221, allocations: 55.02 MB / 499.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.006365/0.1284, allocations: 2.152 MB / 0.4899 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.1328, allocations: 1.47 MB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.133, allocations: 7.938 kB / 0.4913 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.1336, allocations: 159.1 kB / 0.4914 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.1344, allocations: 178.8 kB / 0.4916 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.1374, allocations: 0.87 MB / 0.4925 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.1383, allocations: 414.1 kB / 0.4929 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.1386, allocations: 92.69 kB / 0.493 GB, free: 8.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1388, allocations: 175.3 kB / 0.4931 GB, free: 8.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.1393, allocations: 195.1 kB / 0.4933 GB, free: 8.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.1394, allocations: 36 kB / 0.4933 GB, free: 8.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.14, allocations: 191.8 kB / 0.4935 GB, free: 7.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1401, allocations: 83.62 kB / 0.4936 GB, free: 7.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1404, allocations: 167.2 kB / 0.4938 GB, free: 7.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1415, allocations: 0.541 MB / 0.4943 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1415, allocations: 0 / 0.4943 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1415, allocations: 0 / 0.4943 GB, free: 7.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1415, allocations: 0 / 0.4943 GB, free: 7.203 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.006936/0.1484, allocations: 1.062 MB / 0.4953 GB, free: 6.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1485, allocations: 12.03 kB / 0.4953 GB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.1487, allocations: 75.31 kB / 0.4954 GB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1488, allocations: 44.66 kB / 0.4955 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.1496, allocations: 277.3 kB / 0.4957 GB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.1496, allocations: 25.03 kB / 0.4957 GB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.1497, allocations: 32.38 kB / 0.4958 GB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1512, allocations: 0.6424 MB / 0.4964 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1512, allocations: 3.938 kB / 0.4964 GB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.1512, allocations: 12 kB / 0.4964 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1513, allocations: 8 kB / 0.4964 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.1524, allocations: 410.5 kB / 0.4968 GB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.1558, allocations: 1.018 MB / 0.4978 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1577, allocations: 459.1 kB / 0.4982 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.1583, allocations: 212.8 kB / 0.4984 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.69e-05/0.1584, allocations: 7.984 kB / 0.4985 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.088e-05/0.1584, allocations: 46.5 kB / 0.4985 GB, free: 2.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 4.238e-06/0.1585, allocations: 0 / 0.4985 GB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.007967/0.1664, allocations: 1.265 MB / 0.4997 GB, free: 1.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1665, allocations: 55.41 kB / 0.4998 GB, free: 1.348 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.1671, allocations: 269.7 kB / 0.5 GB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.735e-05/0.1672, allocations: 33.7 kB / 0.5001 GB, free: 1.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1674, allocations: 169 kB / 0.5002 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.1676, allocations: 158.6 kB / 0.5004 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.1679, allocations: 86.19 kB / 0.5005 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.1681, allocations: 338.8 kB / 0.5008 GB, free: 284 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1688, allocations: 220.9 kB / 0.501 GB, free: 64 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.1695, allocations: 224.4 kB / 0.5012 GB, free: 15.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.1709, allocations: 494.3 kB / 0.5017 GB, free: 15.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1709, allocations: 0 / 0.5017 GB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004091/0.175, allocations: 0.8858 MB / 0.5026 GB, free: 14.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.175, allocations: 6.5 kB / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1751, allocations: 0 / 0.5026 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003247/0.1783, allocations: 394.1 kB / 0.5029 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.1788, allocations: 67.91 kB / 0.503 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.1908, allocations: 5.532 MB / 0.5084 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.1914, allocations: 43.66 kB / 0.5084 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.1915, allocations: 15.94 kB / 0.5085 GB, free: 8.066 MB / 382.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.1918, allocations: 155.6 kB / 0.5086 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.192, allocations: 35.77 kB / 0.5086 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.1961, allocations: 0.9041 MB / 0.5095 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1961, allocations: 4 kB / 0.5095 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1962, allocations: 3.938 kB / 0.5095 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1962, allocations: 3.984 kB / 0.5095 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.1971, allocations: 420.7 kB / 0.5099 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1971, allocations: 0 / 0.5099 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.1975, allocations: 59.91 kB / 0.51 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.2008, allocations: 394.1 kB / 0.5104 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.2008, allocations: 8 kB / 0.5104 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.2124, allocations: 5.49 MB / 0.5157 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.2124, allocations: 8.094 kB / 0.5158 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2472/0.4595, allocations: 0.9194 MB / 0.5166 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.4596, allocations: 34.27 kB / 0.5167 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.4597, allocations: 13.91 kB / 0.5167 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.46, allocations: 31.83 kB / 0.5167 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4601, allocations: 44.53 kB / 0.5168 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.4602, allocations: 18.97 kB / 0.5168 GB, free: 29.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.4603, allocations: 183.7 kB / 0.517 GB, free: 29.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4603, allocations: 0 / 0.517 GB, free: 29.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005311/0.4609, allocations: 163.9 kB / 0.5171 GB, free: 29.35 MB / 382.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002485/0.4633, allocations: 1.802 MB / 0.5189 GB, free: 28.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.4651, allocations: 0.963 MB / 0.5198 GB, free: 28.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4651, allocations: 1.594 kB / 0.5198 GB, free: 28.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.4663, allocations: 0.7104 MB / 0.5205 GB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.4667, allocations: 43.55 kB / 0.5206 GB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/0.474, allocations: 4.37 MB / 0.5248 GB, free: 26.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4742, allocations: 195.9 kB / 0.525 GB, free: 26.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.4743, allocations: 49.44 kB / 0.5251 GB, free: 26.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4745, allocations: 120.3 kB / 0.5252 GB, free: 26.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4745, allocations: 0 / 0.5252 GB, free: 26.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.523, allocations: 13.69 MB / 0.5385 GB, free: 22.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.74, allocations: 7.531 kB / 0.5385 GB, free: 22.27 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.317030870355666] Failed to read output from testmodel.py, exit status != 0: 13.865359543822706 13.879077368999999 13.734924207 Calling exit ...