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.001269/0.001269, allocations: 119.8 kB / 17.89 MB, free: 5.047 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.001387/0.001387, allocations: 211.2 kB / 20.84 MB, free: 2.105 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.492/1.492, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.04552/0.04552, allocations: 6.136 MB / 316.4 MB, free: 1.172 MB / 238.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.001465/0.001465, allocations: 51.33 kB / 440 MB, free: 40.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09762, allocations: 54.98 MB / 494.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002479/0.1001, allocations: 2.059 MB / 497 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1017, allocations: 1.575 MB / 498.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.1018, allocations: 4 kB / 498.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1021, allocations: 147.2 kB / 498.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1024, allocations: 159 kB / 498.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1039, allocations: 1.066 MB / 499.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1042, allocations: 302.5 kB / 0.4885 GB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1043, allocations: 76.28 kB / 0.4886 GB, free: 5.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.1044, allocations: 131.5 kB / 0.4887 GB, free: 4.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1046, allocations: 155.3 kB / 0.4889 GB, free: 4.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1046, allocations: 28 kB / 0.4889 GB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1049, allocations: 247.8 kB / 0.4891 GB, free: 4.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.105, allocations: 63.77 kB / 0.4892 GB, free: 4.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.1051, allocations: 147.2 kB / 0.4893 GB, free: 4.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.1055, allocations: 0.4943 MB / 0.4898 GB, free: 3.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1055, allocations: 0 / 0.4898 GB, free: 3.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1055, allocations: 0 / 0.4898 GB, free: 3.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1055, allocations: 0 / 0.4898 GB, free: 3.816 MB / 350.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.004112/0.1096, allocations: 1.154 MB / 0.4909 GB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1097, allocations: 12.03 kB / 0.4909 GB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.296e-05/0.1097, allocations: 4.75 kB / 0.4909 GB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.1098, allocations: 71.17 kB / 0.491 GB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.1099, allocations: 40.75 kB / 0.4911 GB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1102, allocations: 283.8 kB / 0.4913 GB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1102, allocations: 24.94 kB / 0.4913 GB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.1103, allocations: 28.31 kB / 0.4914 GB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.1108, allocations: 392.8 kB / 0.4917 GB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1108, allocations: 3.953 kB / 0.4918 GB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1108, allocations: 8 kB / 0.4918 GB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1108, allocations: 4 kB / 0.4918 GB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.1113, allocations: 318.1 kB / 0.4921 GB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1129, allocations: 1.061 MB / 0.4931 GB, free: 272 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.114, allocations: 391.5 kB / 0.4935 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1143, allocations: 177.4 kB / 0.4936 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.1144, allocations: 12.25 kB / 0.4937 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1144, allocations: 38.84 kB / 0.4937 GB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.1144, allocations: 0 / 0.4937 GB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007435/0.1218, allocations: 2.1 MB / 0.4957 GB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.122, allocations: 110.8 kB / 0.4959 GB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1222, allocations: 224.1 kB / 0.4961 GB, free: 13.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.1223, allocations: 41.7 kB / 0.4961 GB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1224, allocations: 165 kB / 0.4963 GB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.1226, allocations: 154.6 kB / 0.4964 GB, free: 12.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.1228, allocations: 98.17 kB / 0.4965 GB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1229, allocations: 338.8 kB / 0.4968 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.1234, allocations: 297 kB / 0.4971 GB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.124, allocations: 349.5 kB / 0.4974 GB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.1251, allocations: 0.6537 MB / 0.4981 GB, free: 11.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1251, allocations: 0 / 0.4981 GB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004075/0.1291, allocations: 1.321 MB / 0.4994 GB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1292, allocations: 8 kB / 0.4994 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1292, allocations: 0 / 0.4994 GB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004423/0.1336, allocations: 0.8344 MB / 0.5002 GB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.134, allocations: 75.89 kB / 0.5003 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.1455, allocations: 8.169 MB / 0.5082 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.1461, allocations: 24.19 kB / 0.5083 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.1462, allocations: 23.98 kB / 0.5083 GB, free: 15.98 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.0002954/0.1465, allocations: 150.3 kB / 0.5084 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.1466, allocations: 23.86 kB / 0.5085 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.1507, allocations: 1.256 MB / 0.5097 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1507, allocations: 4 kB / 0.5097 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1508, allocations: 7.938 kB / 0.5097 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1508, allocations: 7.984 kB / 0.5097 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/0.1556, allocations: 1.894 MB / 0.5116 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1556, allocations: 0 / 0.5116 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.1558, allocations: 51.97 kB / 0.5116 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/0.1598, allocations: 0.827 MB / 0.5124 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.1599, allocations: 7.984 kB / 0.5124 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.171, allocations: 8.205 MB / 0.5204 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.171, allocations: 0 / 0.5204 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.175, allocations: 1.265 MB / 0.5217 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1751, allocations: 104.9 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.1752, allocations: 8 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.1755, allocations: 20 kB / 0.5218 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.1757, allocations: 44.39 kB / 0.5218 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.1758, allocations: 8 kB / 0.5218 GB, free: 1.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1759, allocations: 164.5 kB / 0.522 GB, free: 1.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1759, allocations: 0 / 0.522 GB, free: 1.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.1767, allocations: 168 kB / 0.5222 GB, free: 1.055 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.005213/0.182, allocations: 2.202 MB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003268/0.1852, allocations: 1.285 MB / 0.5256 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1852, allocations: 0 / 0.5256 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.1876, allocations: 0.9346 MB / 0.5265 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1879, allocations: 31.59 kB / 0.5265 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.1996, allocations: 5.166 MB / 0.5316 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2, allocations: 0.7898 MB / 0.5323 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.2002, allocations: 38.94 kB / 0.5324 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.2003, allocations: 111.4 kB / 0.5325 GB, free: 6.215 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2003, allocations: 0 / 0.5325 GB, free: 6.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.2454, allocations: 14.01 MB / 0.5462 GB, free: 8.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.18, allocations: 8.047 kB / 0.5462 GB, free: 8.359 MB / 414.1 MB " [Timeout remaining time 649] (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.052892732026521] Failed to read output from testmodel.py, exit status != 0: 11.323471527022775 11.344413869 11.23510486 Calling exit ...