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.001368/0.001368, allocations: 96.36 kB / 19.73 MB, free: 1.898 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.001979/0.001979, allocations: 218.4 kB / 23.03 MB, free: 5.004 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.03809/0.03809, allocations: 6.145 MB / 319.4 MB, free: 12.75 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.001573/0.001573, allocations: 47.92 kB / 444.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09918, allocations: 55.03 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003193/0.1024, allocations: 1.85 MB / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1045, allocations: 1.512 MB / 0.491 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1046, allocations: 4 kB / 0.491 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.105, allocations: 139.3 kB / 0.4912 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1054, allocations: 159 kB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1073, allocations: 0.9839 MB / 0.4923 GB, free: 9.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.1077, allocations: 302.5 kB / 0.4926 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1079, allocations: 72.67 kB / 0.4926 GB, free: 8.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.108, allocations: 127.5 kB / 0.4928 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.1082, allocations: 135.2 kB / 0.4929 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1083, allocations: 24 kB / 0.4929 GB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.1087, allocations: 243.8 kB / 0.4932 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1088, allocations: 67.77 kB / 0.4932 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1089, allocations: 119.4 kB / 0.4933 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.1095, allocations: 0.4904 MB / 0.4938 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1095, allocations: 0 / 0.4938 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1095, allocations: 0 / 0.4938 GB, free: 7.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1095, allocations: 0 / 0.4938 GB, free: 7.734 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.0041/0.1136, allocations: 1.078 MB / 0.4949 GB, free: 6.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1136, allocations: 12.03 kB / 0.4949 GB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1138, allocations: 55.23 kB / 0.4949 GB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.1138, allocations: 36.7 kB / 0.495 GB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1142, allocations: 226 kB / 0.4952 GB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1142, allocations: 28.8 kB / 0.4952 GB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.1143, allocations: 28.38 kB / 0.4952 GB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.115, allocations: 0.5084 MB / 0.4957 GB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.115, allocations: 7.922 kB / 0.4957 GB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.115, allocations: 4 kB / 0.4957 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.115, allocations: 8 kB / 0.4957 GB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.1156, allocations: 329.9 kB / 0.4961 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1175, allocations: 0.8998 MB / 0.4969 GB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1186, allocations: 370.6 kB / 0.4973 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.1189, allocations: 160.8 kB / 0.4974 GB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.119, allocations: 12.48 kB / 0.4975 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.119, allocations: 30.56 kB / 0.4975 GB, free: 3.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.119, allocations: 4 kB / 0.4975 GB, free: 3.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004344/0.1233, allocations: 1.096 MB / 0.4986 GB, free: 2.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.1234, allocations: 110.8 kB / 0.4987 GB, free: 2.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1237, allocations: 224 kB / 0.4989 GB, free: 2.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1237, allocations: 33.7 kB / 0.4989 GB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1238, allocations: 164.7 kB / 0.4991 GB, free: 2.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.1239, allocations: 107 kB / 0.4992 GB, free: 2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1241, allocations: 86.11 kB / 0.4993 GB, free: 1.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1242, allocations: 338.8 kB / 0.4996 GB, free: 1.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.1246, allocations: 208.8 kB / 0.4998 GB, free: 1.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.125, allocations: 307.6 kB / 0.5001 GB, free: 1.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.1257, allocations: 469.1 kB / 0.5005 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1258, allocations: 0 / 0.5005 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00236/0.1281, allocations: 0.8447 MB / 0.5013 GB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1281, allocations: 8 kB / 0.5014 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1281, allocations: 0 / 0.5014 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.1305, allocations: 441.2 kB / 0.5018 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1308, allocations: 71.89 kB / 0.5018 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.1366, allocations: 3.88 MB / 0.5056 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.137, allocations: 51.62 kB / 0.5057 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.137, allocations: 19.98 kB / 0.5057 GB, free: 11.02 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.0002088/0.1373, allocations: 149.8 kB / 0.5058 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.1373, allocations: 23.86 kB / 0.5059 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.1397, allocations: 0.7713 MB / 0.5066 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1397, allocations: 4 kB / 0.5066 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1397, allocations: 4 kB / 0.5066 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1397, allocations: 3.984 kB / 0.5066 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1402, allocations: 340.4 kB / 0.507 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1402, allocations: 4 kB / 0.507 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.1404, allocations: 47.97 kB / 0.507 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.1425, allocations: 433.2 kB / 0.5074 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/0.1426, allocations: 8 kB / 0.5074 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/0.1483, allocations: 3.884 MB / 0.5112 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1483, allocations: 0 / 0.5112 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.1506, allocations: 0.8126 MB / 0.512 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.1507, allocations: 27.78 kB / 0.512 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.1507, allocations: 8 kB / 0.512 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.151, allocations: 23.94 kB / 0.5121 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.1511, allocations: 27.94 kB / 0.5121 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.1511, allocations: 8 kB / 0.5121 GB, free: 4.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1513, allocations: 156.5 kB / 0.5123 GB, free: 3.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 0 / 0.5123 GB, free: 3.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.1518, allocations: 139.9 kB / 0.5124 GB, free: 3.852 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.003085/0.1549, allocations: 1.625 MB / 0.514 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.1568, allocations: 0.7731 MB / 0.5147 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1569, allocations: 3.938 kB / 0.5147 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.1583, allocations: 0.5402 MB / 0.5153 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1586, allocations: 24.67 kB / 0.5153 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1789/0.3375, allocations: 3.843 MB / 0.519 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.3377, allocations: 161.7 kB / 0.5192 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.3378, allocations: 32.06 kB / 0.5192 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.338, allocations: 95.72 kB / 0.5193 GB, free: 28.9 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.338, allocations: 0 / 0.5193 GB, free: 28.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3797, allocations: 10.54 MB / 0.5296 GB, free: 26.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 7.953 kB / 0.5296 GB, free: 26.79 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.612846402917057] Failed to read output from testmodel.py, exit status != 0: 12.182074205949903 12.195410722 12.083455108 Calling exit ...