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.001299/0.001299, allocations: 118 kB / 19.74 MB, free: 2.152 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.001445/0.001445, allocations: 221.3 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.082 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.04253/0.04253, allocations: 6.131 MB / 319.4 MB, free: 13.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 444.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 55.03 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003487/0.1139, allocations: 2.057 MB / 0.4898 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1161, allocations: 1.594 MB / 0.4914 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1162, allocations: 4 kB / 0.4914 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1165, allocations: 147.2 kB / 0.4915 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.1169, allocations: 162.9 kB / 0.4917 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1189, allocations: 1.056 MB / 0.4927 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.1193, allocations: 318.5 kB / 0.493 GB, free: 9.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1195, allocations: 76.69 kB / 0.4931 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1197, allocations: 127.6 kB / 0.4932 GB, free: 8.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1199, allocations: 155.2 kB / 0.4934 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.1199, allocations: 24 kB / 0.4934 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1204, allocations: 251.8 kB / 0.4936 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.1204, allocations: 63.77 kB / 0.4937 GB, free: 8.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1206, allocations: 147.3 kB / 0.4938 GB, free: 8.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.1212, allocations: 498.2 kB / 0.4943 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1212, allocations: 0 / 0.4943 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1212, allocations: 7.938 kB / 0.4943 GB, free: 7.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1212, allocations: 0 / 0.4943 GB, free: 7.688 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.004223/0.1255, allocations: 1.078 MB / 0.4954 GB, free: 6.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1255, allocations: 8.031 kB / 0.4954 GB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1256, allocations: 59.23 kB / 0.4954 GB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.1257, allocations: 40.7 kB / 0.4955 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.126, allocations: 229.9 kB / 0.4957 GB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1261, allocations: 24.88 kB / 0.4957 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.1261, allocations: 28.38 kB / 0.4957 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.1268, allocations: 392.1 kB / 0.4961 GB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1268, allocations: 3.938 kB / 0.4961 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.1268, allocations: 12 kB / 0.4961 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1268, allocations: 4 kB / 0.4961 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.1274, allocations: 321.8 kB / 0.4964 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1294, allocations: 1.017 MB / 0.4974 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1305, allocations: 374.6 kB / 0.4978 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.1308, allocations: 160.8 kB / 0.498 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.1308, allocations: 8.5 kB / 0.498 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1309, allocations: 34.55 kB / 0.498 GB, free: 3.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1309, allocations: 0 / 0.498 GB, free: 3.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004578/0.1354, allocations: 1.108 MB / 0.4991 GB, free: 2.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.1355, allocations: 102.8 kB / 0.4992 GB, free: 2.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1358, allocations: 228 kB / 0.4994 GB, free: 2.297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.1358, allocations: 33.7 kB / 0.4994 GB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.136, allocations: 164.7 kB / 0.4996 GB, free: 2.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.1361, allocations: 107 kB / 0.4997 GB, free: 1.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1362, allocations: 82.11 kB / 0.4998 GB, free: 1.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1364, allocations: 342.8 kB / 0.5001 GB, free: 1.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.1367, allocations: 208.8 kB / 0.5003 GB, free: 1.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.1371, allocations: 256.2 kB / 0.5005 GB, free: 1.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.1379, allocations: 469.1 kB / 0.501 GB, free: 0.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1379, allocations: 0 / 0.501 GB, free: 0.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002463/0.1404, allocations: 0.8369 MB / 0.5018 GB, free: 15.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1404, allocations: 8 kB / 0.5018 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1404, allocations: 0 / 0.5018 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.1427, allocations: 441.2 kB / 0.5022 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.143, allocations: 71.89 kB / 0.5023 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.1488, allocations: 3.939 MB / 0.5061 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.1491, allocations: 47.69 kB / 0.5062 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.1492, allocations: 16 kB / 0.5062 GB, free: 11.03 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002176/0.1494, allocations: 149.8 kB / 0.5063 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.1495, allocations: 27.84 kB / 0.5064 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.1518, allocations: 0.7752 MB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1518, allocations: 0 / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1518, allocations: 4 kB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1518, allocations: 3.938 kB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.1524, allocations: 420.2 kB / 0.5075 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1524, allocations: 0 / 0.5075 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.1525, allocations: 47.91 kB / 0.5076 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.1547, allocations: 437.2 kB / 0.508 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1547, allocations: 12 kB / 0.508 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.1606, allocations: 3.919 MB / 0.5118 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1606, allocations: 0 / 0.5118 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.1629, allocations: 0.8165 MB / 0.5126 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.163, allocations: 23.8 kB / 0.5127 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.163, allocations: 7.984 kB / 0.5127 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.1633, allocations: 12.09 kB / 0.5127 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.1634, allocations: 35.92 kB / 0.5127 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1634, allocations: 12 kB / 0.5127 GB, free: 4.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.1636, allocations: 160.5 kB / 0.5129 GB, free: 3.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1636, allocations: 0 / 0.5129 GB, free: 3.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.1641, allocations: 127.9 kB / 0.513 GB, free: 3.746 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.003142/0.1673, allocations: 1.628 MB / 0.5146 GB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.1693, allocations: 0.7769 MB / 0.5153 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1693, allocations: 0 / 0.5153 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.1707, allocations: 0.5402 MB / 0.5159 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.171, allocations: 24.61 kB / 0.5159 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2325/0.4035, allocations: 3.855 MB / 0.5197 GB, free: 28.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.4037, allocations: 0.7667 MB / 0.5204 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.4039, allocations: 33.8 kB / 0.5204 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.404, allocations: 90.98 kB / 0.5205 GB, free: 28.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.404, allocations: 4.344 kB / 0.5205 GB, free: 28.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.4502, allocations: 9.834 MB / 0.5301 GB, free: 26.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.47, allocations: 11.55 kB / 0.5301 GB, free: 26.75 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.059845201903954] Failed to read output from testmodel.py, exit status != 0: 12.578301201108843 12.591646843 12.468004945 Calling exit ...