Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.001674/0.001674, allocations: 105 kB / 20.53 MB, free: 1.43 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.00219/0.00219, allocations: 209.5 kB / 23.83 MB, free: 4.641 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.5/1.5, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.04009/0.04009, allocations: 6.13 MB / 320.2 MB, free: 12.95 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.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 51.92 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 55.02 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003435/0.1239, allocations: 2.068 MB / 0.4906 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.1265, allocations: 1.594 MB / 0.4922 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1266, allocations: 4 kB / 0.4922 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1272, allocations: 143.2 kB / 0.4923 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.1277, allocations: 158.9 kB / 0.4925 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.1297, allocations: 1.068 MB / 0.4935 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.1302, allocations: 306.5 kB / 0.4938 GB, free: 8.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1304, allocations: 76.7 kB / 0.4939 GB, free: 8.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1306, allocations: 131.5 kB / 0.494 GB, free: 8.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1308, allocations: 151.2 kB / 0.4941 GB, free: 8.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.1309, allocations: 24 kB / 0.4942 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.1314, allocations: 255.8 kB / 0.4944 GB, free: 8.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1315, allocations: 63.77 kB / 0.4945 GB, free: 8.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1316, allocations: 151.2 kB / 0.4946 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.1323, allocations: 0.4904 MB / 0.4951 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1323, allocations: 3.984 kB / 0.4951 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1323, allocations: 0 / 0.4951 GB, free: 7.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1323, allocations: 0 / 0.4951 GB, free: 7.562 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004359/0.1367, allocations: 1.071 MB / 0.4961 GB, free: 6.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1368, allocations: 12.03 kB / 0.4961 GB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.673e-05/0.1368, allocations: 4.688 kB / 0.4962 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.854e-05/0.1369, allocations: 67.17 kB / 0.4962 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.137, allocations: 36.75 kB / 0.4963 GB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1373, allocations: 229.9 kB / 0.4965 GB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.1374, allocations: 24.88 kB / 0.4965 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1375, allocations: 28.38 kB / 0.4965 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.1381, allocations: 399.9 kB / 0.4969 GB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1382, allocations: 3.938 kB / 0.4969 GB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.1382, allocations: 15.94 kB / 0.4969 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1382, allocations: 7.938 kB / 0.4969 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.1388, allocations: 325.9 kB / 0.4972 GB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.1408, allocations: 1.033 MB / 0.4982 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1419, allocations: 395.5 kB / 0.4986 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1422, allocations: 178.2 kB / 0.4988 GB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.1423, allocations: 8.266 kB / 0.4988 GB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1423, allocations: 38.84 kB / 0.4988 GB, free: 3.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.1423, allocations: 7.938 kB / 0.4988 GB, free: 3.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007121/0.1495, allocations: 2.032 MB / 0.5008 GB, free: 1.512 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.1496, allocations: 106.8 kB / 0.5009 GB, free: 1.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1499, allocations: 228 kB / 0.5012 GB, free: 1.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.1499, allocations: 37.7 kB / 0.5012 GB, free: 1.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.15, allocations: 161 kB / 0.5013 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1502, allocations: 150.6 kB / 0.5015 GB, free: 0.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.1504, allocations: 102.2 kB / 0.5016 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1506, allocations: 338.8 kB / 0.5019 GB, free: 356 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.1511, allocations: 300.9 kB / 0.5022 GB, free: 56 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.1517, allocations: 344.9 kB / 0.5025 GB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1528, allocations: 0.6602 MB / 0.5032 GB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1528, allocations: 0 / 0.5032 GB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004002/0.1568, allocations: 1.324 MB / 0.5045 GB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1568, allocations: 4 kB / 0.5045 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1568, allocations: 11.94 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004339/0.1612, allocations: 0.8345 MB / 0.5053 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.1616, allocations: 75.89 kB / 0.5054 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.1726, allocations: 7.767 MB / 0.5129 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.1731, allocations: 20.02 kB / 0.513 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.1732, allocations: 16 kB / 0.513 GB, free: 4.492 MB / 382.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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (3,5,100.0%), (1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.1734, allocations: 157.9 kB / 0.5131 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.1735, allocations: 31.81 kB / 0.5132 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.1775, allocations: 1.255 MB / 0.5144 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1775, allocations: 4 kB / 0.5144 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1775, allocations: 4 kB / 0.5144 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1775, allocations: 7.984 kB / 0.5144 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.1823, allocations: 1.862 MB / 0.5162 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1823, allocations: 4 kB / 0.5162 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1825, allocations: 55.91 kB / 0.5163 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004148/0.1867, allocations: 0.831 MB / 0.5171 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.1867, allocations: 11.94 kB / 0.5171 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2551/0.4418, allocations: 7.759 MB / 0.5247 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4418, allocations: 1.344 kB / 0.5247 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.4456, allocations: 1.274 MB / 0.5259 GB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.4457, allocations: 33.06 kB / 0.526 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.4457, allocations: 10.5 kB / 0.526 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.4461, allocations: 15.11 kB / 0.526 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.4462, allocations: 42.67 kB / 0.526 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.4463, allocations: 12.81 kB / 0.526 GB, free: 24.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4464, allocations: 163.8 kB / 0.5262 GB, free: 24.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4464, allocations: 3.562 kB / 0.5262 GB, free: 24.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007503/0.4472, allocations: 166.4 kB / 0.5264 GB, free: 24.68 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (3,5,100.0%), (1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004483/0.4517, allocations: 2.221 MB / 0.5285 GB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.4545, allocations: 1.275 MB / 0.5298 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4545, allocations: 1.125 kB / 0.5298 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.4567, allocations: 0.9487 MB / 0.5307 GB, free: 22.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4571, allocations: 30.8 kB / 0.5307 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.4686, allocations: 5.165 MB / 0.5358 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.4691, allocations: 0.7876 MB / 0.5365 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.4694, allocations: 39.19 kB / 0.5366 GB, free: 18.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.4695, allocations: 104 kB / 0.5367 GB, free: 18.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4695, allocations: 0 / 0.5367 GB, free: 18.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04739/0.5169, allocations: 14.38 MB / 0.5507 GB, free: 13.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13, allocations: 22 kB / 0.5507 GB, free: 13.68 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.880251566995867] Failed to read output from testmodel.py, exit status != 0: 13.175019950955175 13.187554465 13.052563433 Calling exit ...