Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.001862/0.001862, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.002382/0.002382, allocations: 222.7 kB / 23.05 MB, free: 5 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.446/1.446, 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.03744/0.03744, allocations: 6.135 MB / 319.4 MB, free: 12.96 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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 47.92 kB / 444.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09869, allocations: 55.03 MB / 499.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004853/0.1035, allocations: 3.256 MB / 0.491 GB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.107, allocations: 1.909 MB / 0.4929 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.1077, allocations: 12 kB / 0.4929 GB, free: 9.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.1086, allocations: 210.7 kB / 0.4931 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.11, allocations: 314 kB / 0.4934 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.1127, allocations: 1.278 MB / 0.4946 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1139, allocations: 0.6337 MB / 0.4953 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.1143, allocations: 151.6 kB / 0.4954 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.1147, allocations: 271 kB / 0.4957 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005986/0.1153, allocations: 350.5 kB / 0.496 GB, free: 5.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1154, allocations: 52 kB / 0.496 GB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.1161, allocations: 299.8 kB / 0.4963 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1162, allocations: 131.5 kB / 0.4965 GB, free: 5.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.1166, allocations: 318.4 kB / 0.4968 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.1178, allocations: 0.8172 MB / 0.4976 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1178, allocations: 3.938 kB / 0.4976 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1178, allocations: 0 / 0.4976 GB, free: 4.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.1179, allocations: 4 kB / 0.4976 GB, free: 4.25 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00753/0.1254, allocations: 1.811 MB / 0.4993 GB, free: 2.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1254, allocations: 12.03 kB / 0.4993 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1256, allocations: 86.7 kB / 0.4994 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1257, allocations: 68.52 kB / 0.4995 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.1263, allocations: 368.5 kB / 0.4998 GB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1264, allocations: 37.38 kB / 0.4999 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.1265, allocations: 56.31 kB / 0.4999 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1277, allocations: 0.7298 MB / 0.5006 GB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1277, allocations: 3.938 kB / 0.5006 GB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.1277, allocations: 20 kB / 0.5007 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1277, allocations: 12 kB / 0.5007 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1289, allocations: 0.6833 MB / 0.5013 GB, free: 296 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.1327, allocations: 2.199 MB / 0.5035 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1342, allocations: 0.7895 MB / 0.5043 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.1349, allocations: 426.7 kB / 0.5047 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.135, allocations: 16.64 kB / 0.5047 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.135, allocations: 47.2 kB / 0.5047 GB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.1351, allocations: 0 / 0.5047 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01213/0.1472, allocations: 3.113 MB / 0.5078 GB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1473, allocations: 111.5 kB / 0.5079 GB, free: 9.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.1479, allocations: 377.5 kB / 0.5082 GB, free: 9.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.148, allocations: 49.7 kB / 0.5083 GB, free: 8.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1482, allocations: 205.6 kB / 0.5085 GB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.1484, allocations: 269.7 kB / 0.5087 GB, free: 8.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.1487, allocations: 150.6 kB / 0.5089 GB, free: 8.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1489, allocations: 358.8 kB / 0.5092 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.1496, allocations: 469.8 kB / 0.5097 GB, free: 7.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.1504, allocations: 0.5287 MB / 0.5102 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.1521, allocations: 1.033 MB / 0.5112 GB, free: 5.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1521, allocations: 0 / 0.5112 GB, free: 5.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005589/0.1577, allocations: 1.992 MB / 0.5131 GB, free: 3.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1577, allocations: 15.94 kB / 0.5132 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1577, allocations: 0 / 0.5132 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005894/0.1636, allocations: 1.46 MB / 0.5146 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.1643, allocations: 123.8 kB / 0.5147 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1955/0.3597, allocations: 6.183 MB / 0.5207 GB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.3604, allocations: 74.05 kB / 0.5208 GB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.3604, allocations: 30.91 kB / 0.5208 GB, free: 28.17 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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.3607, allocations: 186 kB / 0.521 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3608, allocations: 56.64 kB / 0.5211 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.3662, allocations: 1.955 MB / 0.523 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3662, allocations: 11.69 kB / 0.523 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3662, allocations: 0 / 0.523 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3662, allocations: 4.125 kB / 0.523 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.3723, allocations: 2.78 MB / 0.5257 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3723, allocations: 1.969 kB / 0.5257 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.3727, allocations: 94.55 kB / 0.5258 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.378, allocations: 1.286 MB / 0.5271 GB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.378, allocations: 21.38 kB / 0.5271 GB, free: 26.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.3897, allocations: 6.112 MB / 0.533 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3897, allocations: 0.6562 kB / 0.533 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.395, allocations: 1.914 MB / 0.5349 GB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3952, allocations: 67.69 kB / 0.535 GB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.3953, allocations: 16.45 kB / 0.535 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.3958, allocations: 45.94 kB / 0.535 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.3961, allocations: 65.3 kB / 0.5351 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/0.3962, allocations: 26.67 kB / 0.5351 GB, free: 21.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.3965, allocations: 260.7 kB / 0.5354 GB, free: 21.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3965, allocations: 1.125 kB / 0.5354 GB, free: 21.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008846/0.3974, allocations: 278.5 kB / 0.5356 GB, free: 21.6 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 (56): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005085/0.4025, allocations: 2.494 MB / 0.5381 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.4061, allocations: 1.588 MB / 0.5396 GB, free: 19.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4061, allocations: 5.156 kB / 0.5396 GB, free: 19.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.409, allocations: 1.06 MB / 0.5407 GB, free: 19.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.4095, allocations: 71.09 kB / 0.5407 GB, free: 19.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4239, allocations: 7.746 MB / 0.5483 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.4241, allocations: 0.8769 MB / 0.5492 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.4244, allocations: 86.25 kB / 0.5492 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.4246, allocations: 198.9 kB / 0.5494 GB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.482e-06/0.4246, allocations: 0 / 0.5494 GB, free: 14.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0729/0.4975, allocations: 24.63 MB / 0.5735 GB, free: 6.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.38, allocations: 7.75 kB / 0.5735 GB, free: 6.695 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.0052614340093] Failed to read output from testmodel.py, exit status != 0: 14.51488855597563 14.544108955 14.420841049 Calling exit ...