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.001239/0.001239, allocations: 101 kB / 20.52 MB, free: 1.449 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.001481/0.001481, allocations: 211 kB / 23.84 MB, free: 4.664 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.988 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.03835/0.03835, allocations: 6.134 MB / 320.2 MB, free: 12.94 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 51.92 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.0999, allocations: 55.03 MB / 0.4886 GB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003748/0.1036, allocations: 2.415 MB / 0.491 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1061, allocations: 1.532 MB / 0.4925 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1062, allocations: 4 kB / 0.4925 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1066, allocations: 163 kB / 0.4926 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1071, allocations: 178.8 kB / 0.4928 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.1089, allocations: 0.9403 MB / 0.4937 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006611/0.1096, allocations: 421.9 kB / 0.4941 GB, free: 8.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.1098, allocations: 104.7 kB / 0.4942 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.11, allocations: 175.3 kB / 0.4944 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.1104, allocations: 219.1 kB / 0.4946 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.1104, allocations: 32 kB / 0.4946 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.1109, allocations: 203.8 kB / 0.4948 GB, free: 7.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.111, allocations: 91.62 kB / 0.4949 GB, free: 7.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.1111, allocations: 195 kB / 0.4951 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.1119, allocations: 0.541 MB / 0.4956 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1119, allocations: 0 / 0.4956 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1119, allocations: 0 / 0.4956 GB, free: 7.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1119, allocations: 0 / 0.4956 GB, free: 7.016 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.00386/0.1158, allocations: 1.066 MB / 0.4966 GB, free: 5.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1158, allocations: 15.97 kB / 0.4967 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.093e-05/0.1159, allocations: 8.844 kB / 0.4967 GB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.116, allocations: 67.38 kB / 0.4967 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1161, allocations: 48.66 kB / 0.4968 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.1166, allocations: 281.3 kB / 0.4971 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.1166, allocations: 25.03 kB / 0.4971 GB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.1167, allocations: 40.38 kB / 0.4971 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.1174, allocations: 430.3 kB / 0.4975 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1174, allocations: 0 / 0.4975 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.1174, allocations: 19.94 kB / 0.4975 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1175, allocations: 4 kB / 0.4975 GB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.1181, allocations: 418.5 kB / 0.4979 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1204, allocations: 1.506 MB / 0.4994 GB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1215, allocations: 468.9 kB / 0.4999 GB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.1219, allocations: 242 kB / 0.5001 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.122, allocations: 4.438 kB / 0.5001 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.122, allocations: 39 kB / 0.5001 GB, free: 2.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 1.724e-06/0.122, allocations: 0 / 0.5001 GB, free: 2.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.008312/0.1303, allocations: 2.619 MB / 0.5027 GB, free: 15.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1304, allocations: 68 kB / 0.5028 GB, free: 15.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.1307, allocations: 261.7 kB / 0.503 GB, free: 15.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.1308, allocations: 45.7 kB / 0.5031 GB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1309, allocations: 165.8 kB / 0.5032 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.1311, allocations: 234 kB / 0.5034 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1313, allocations: 110.3 kB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1315, allocations: 350.8 kB / 0.5039 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.1321, allocations: 345.1 kB / 0.5042 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.1326, allocations: 349.8 kB / 0.5045 GB, free: 13.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.1338, allocations: 0.7551 MB / 0.5053 GB, free: 12.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1338, allocations: 4 kB / 0.5053 GB, free: 12.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003972/0.1378, allocations: 1.469 MB / 0.5067 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1378, allocations: 7.938 kB / 0.5067 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1378, allocations: 4 kB / 0.5067 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.1412, allocations: 0.7385 MB / 0.5074 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1415, allocations: 79.89 kB / 0.5075 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2079/0.3494, allocations: 11.28 MB / 0.5185 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.3499, allocations: 17.66 kB / 0.5186 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.35, allocations: 24.69 kB / 0.5186 GB, free: 27.39 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 (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.3502, allocations: 173.2 kB / 0.5187 GB, free: 27.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.3503, allocations: 48.67 kB / 0.5188 GB, free: 27.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.3539, allocations: 1.508 MB / 0.5203 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3539, allocations: 11.16 kB / 0.5203 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3539, allocations: 3.094 kB / 0.5203 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3539, allocations: 7.578 kB / 0.5203 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.3585, allocations: 2.348 MB / 0.5226 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3585, allocations: 2.125 kB / 0.5226 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.3587, allocations: 67.88 kB / 0.5226 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/0.362, allocations: 0.7356 MB / 0.5234 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.362, allocations: 13.16 kB / 0.5234 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.3732, allocations: 11.26 MB / 0.5344 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3732, allocations: 6.672 kB / 0.5344 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.3769, allocations: 1.51 MB / 0.5359 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.3769, allocations: 42.06 kB / 0.5359 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.377, allocations: 17.86 kB / 0.5359 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3774, allocations: 32.77 kB / 0.5359 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.3777, allocations: 67.06 kB / 0.536 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.3777, allocations: 22.91 kB / 0.536 GB, free: 17.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.378, allocations: 185.8 kB / 0.5362 GB, free: 17.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 0 / 0.5362 GB, free: 17.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.3788, allocations: 214.6 kB / 0.5364 GB, free: 17.15 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 (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * 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.004506/0.3833, allocations: 2.594 MB / 0.5389 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.3862, allocations: 1.663 MB / 0.5406 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3862, allocations: 0 / 0.5406 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.3883, allocations: 1.287 MB / 0.5418 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.3888, allocations: 56.62 kB / 0.5419 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.4018, allocations: 6.078 MB / 0.5478 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.4023, allocations: 0.8385 MB / 0.5486 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.4026, allocations: 44.89 kB / 0.5487 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.4028, allocations: 144.1 kB / 0.5488 GB, free: 9.461 MB / 382.1 MB Notification: Performance of SimCode: time 2.294e-06/0.4028, allocations: 0 / 0.5488 GB, free: 9.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07876/0.4815, allocations: 20.26 MB / 0.5686 GB, free: 10.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/14.74, allocations: 12.36 kB / 0.5686 GB, free: 10.56 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.595391203998588] Failed to read output from testmodel.py, exit status != 0: 14.930764746037312 14.963648017 14.846398079 Calling exit ...