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.001267/0.001267, allocations: 114 kB / 19.74 MB, free: 1.992 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.00139/0.00139, allocations: 223.1 kB / 23.05 MB, free: 4.988 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.04056/0.04056, allocations: 6.134 MB / 319.4 MB, free: 12.93 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.001702/0.001702, allocations: 55.92 kB / 444.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 55 MB / 499.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.004271/0.1197, allocations: 2.436 MB / 0.4902 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1222, allocations: 1.524 MB / 0.4917 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1224, allocations: 8 kB / 0.4917 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.1229, allocations: 167 kB / 0.4919 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.1234, allocations: 174.8 kB / 0.492 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1253, allocations: 0.9413 MB / 0.4929 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.126, allocations: 417.9 kB / 0.4933 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1263, allocations: 100.7 kB / 0.4934 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.1266, allocations: 175.4 kB / 0.4936 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.127, allocations: 227.1 kB / 0.4938 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.127, allocations: 32 kB / 0.4938 GB, free: 8.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.1275, allocations: 199.8 kB / 0.494 GB, free: 7.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.1276, allocations: 91.61 kB / 0.4941 GB, free: 7.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1278, allocations: 195 kB / 0.4943 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008541/0.1287, allocations: 0.537 MB / 0.4948 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1287, allocations: 0 / 0.4948 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1287, allocations: 0 / 0.4948 GB, free: 7.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.1287, allocations: 4 kB / 0.4948 GB, free: 7 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.004149/0.1328, allocations: 1.07 MB / 0.4959 GB, free: 5.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1329, allocations: 8.031 kB / 0.4959 GB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.1331, allocations: 67.38 kB / 0.496 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1332, allocations: 44.66 kB / 0.496 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.1339, allocations: 273.3 kB / 0.4963 GB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.1339, allocations: 25.03 kB / 0.4963 GB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.134, allocations: 36.38 kB / 0.4963 GB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/0.1347, allocations: 418.6 kB / 0.4967 GB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1347, allocations: 7.922 kB / 0.4967 GB, free: 5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.1348, allocations: 16 kB / 0.4967 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.1348, allocations: 11.98 kB / 0.4967 GB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.1355, allocations: 414.4 kB / 0.4971 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.1381, allocations: 1.447 MB / 0.4986 GB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1393, allocations: 463.1 kB / 0.499 GB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.1396, allocations: 208.8 kB / 0.4992 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.892e-05/0.1397, allocations: 15.98 kB / 0.4992 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.1398, allocations: 38.56 kB / 0.4993 GB, free: 2.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.014e-06/0.1398, allocations: 0 / 0.4993 GB, free: 2.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004438/0.1442, allocations: 1.269 MB / 0.5005 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1443, allocations: 55.41 kB / 0.5005 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1446, allocations: 265.7 kB / 0.5008 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.1447, allocations: 37.64 kB / 0.5008 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1448, allocations: 169 kB / 0.501 GB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1449, allocations: 154.6 kB / 0.5011 GB, free: 284 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1451, allocations: 90.17 kB / 0.5012 GB, free: 188 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1453, allocations: 338.8 kB / 0.5016 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1456, allocations: 220.9 kB / 0.5018 GB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.146, allocations: 220.4 kB / 0.502 GB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.1468, allocations: 0.4944 MB / 0.5025 GB, free: 14.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1468, allocations: 0 / 0.5025 GB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002219/0.149, allocations: 0.882 MB / 0.5033 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.149, allocations: 4 kB / 0.5033 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.149, allocations: 0 / 0.5033 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.1508, allocations: 398 kB / 0.5037 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1511, allocations: 67.91 kB / 0.5038 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00736/0.1584, allocations: 5.591 MB / 0.5092 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.1588, allocations: 39.67 kB / 0.5093 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1588, allocations: 15.94 kB / 0.5093 GB, free: 7.566 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.0002364/0.1591, allocations: 161.7 kB / 0.5094 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-05/0.1592, allocations: 39.77 kB / 0.5095 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.1615, allocations: 0.9039 MB / 0.5104 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1616, allocations: 4 kB / 0.5104 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.1616, allocations: 0 / 0.5104 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1616, allocations: 0 / 0.5104 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.1622, allocations: 0.5004 MB / 0.5108 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1622, allocations: 0 / 0.5108 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1624, allocations: 59.91 kB / 0.5109 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.1642, allocations: 386.1 kB / 0.5113 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1642, allocations: 8 kB / 0.5113 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2307/0.3949, allocations: 5.555 MB / 0.5167 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3949, allocations: 0.8125 kB / 0.5167 GB, free: 28.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.3971, allocations: 0.9311 MB / 0.5176 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.3972, allocations: 39.12 kB / 0.5176 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.3973, allocations: 8.875 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.3976, allocations: 29.72 kB / 0.5177 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3977, allocations: 41.02 kB / 0.5177 GB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.3978, allocations: 16.25 kB / 0.5177 GB, free: 28.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.398, allocations: 182.3 kB / 0.5179 GB, free: 28.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.398, allocations: 0 / 0.5179 GB, free: 28.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005816/0.3985, allocations: 172.5 kB / 0.5181 GB, free: 28.51 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.002646/0.4012, allocations: 1.798 MB / 0.5198 GB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.4032, allocations: 0.9623 MB / 0.5208 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4032, allocations: 0 / 0.5208 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.4045, allocations: 0.7094 MB / 0.5215 GB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.4049, allocations: 52.66 kB / 0.5215 GB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.4125, allocations: 4.373 MB / 0.5258 GB, free: 25.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4128, allocations: 0.8031 MB / 0.5266 GB, free: 24.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.413, allocations: 52.11 kB / 0.5266 GB, free: 24.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4131, allocations: 117.8 kB / 0.5267 GB, free: 24.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.472e-06/0.4131, allocations: 1.281 kB / 0.5267 GB, free: 24.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.4634, allocations: 14.32 MB / 0.5407 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.9, allocations: 13.97 kB / 0.5407 GB, free: 20.66 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.681333514861763] Failed to read output from testmodel.py, exit status != 0: 14.028365883044899 14.048412285 13.916053467 Calling exit ...