Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001701/0.001701, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.002205/0.002205, allocations: 224.6 kB / 23.05 MB, free: 4.941 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.489/1.489, allocations: 230.6 MB / 256.8 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.04006/0.04006, allocations: 6.127 MB / 319.4 MB, free: 12.96 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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 444.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 55.02 MB / 499.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.008163/0.1189, allocations: 5.758 MB / 0.4935 GB, free: 8.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.1237, allocations: 2.373 MB / 0.4958 GB, free: 6.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.1245, allocations: 19.94 kB / 0.4958 GB, free: 6.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.1254, allocations: 317.9 kB / 0.4961 GB, free: 5.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.1276, allocations: 0.5822 MB / 0.4967 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.131, allocations: 1.455 MB / 0.4981 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.1334, allocations: 1.264 MB / 0.4993 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006593/0.134, allocations: 281.6 kB / 0.4996 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009937/0.135, allocations: 0.5487 MB / 0.5001 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1361, allocations: 0.6808 MB / 0.5008 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.1364, allocations: 100 kB / 0.5009 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008573/0.1372, allocations: 355.7 kB / 0.5012 GB, free: 500 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1375, allocations: 255 kB / 0.5015 GB, free: 244 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.1381, allocations: 0.6023 MB / 0.5021 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1401, allocations: 1.42 MB / 0.5034 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1401, allocations: 0 / 0.5034 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1401, allocations: 0 / 0.5034 GB, free: 14.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.1401, allocations: 0 / 0.5034 GB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01327/0.1534, allocations: 3.101 MB / 0.5065 GB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.1534, allocations: 8.031 kB / 0.5065 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.1536, allocations: 139.2 kB / 0.5066 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.1539, allocations: 132.1 kB / 0.5067 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1551, allocations: 0.6117 MB / 0.5073 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.1551, allocations: 70.38 kB / 0.5074 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1553, allocations: 96.38 kB / 0.5075 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.1575, allocations: 1.377 MB / 0.5088 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1575, allocations: 0 / 0.5088 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.1576, allocations: 40 kB / 0.5089 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1577, allocations: 20 kB / 0.5089 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.1598, allocations: 1.32 MB / 0.5102 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00729/0.1671, allocations: 4.317 MB / 0.5144 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.1697, allocations: 1.679 MB / 0.516 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.1711, allocations: 0.8404 MB / 0.5169 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.1712, allocations: 41.2 kB / 0.5169 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.1713, allocations: 56.11 kB / 0.517 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.717e-06/0.1713, allocations: 0 / 0.517 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2359/0.4072, allocations: 6.919 MB / 0.5237 GB, free: 29.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.4073, allocations: 124.6 kB / 0.5238 GB, free: 29.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.4089, allocations: 0.6242 MB / 0.5244 GB, free: 29.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.4092, allocations: 64.48 kB / 0.5245 GB, free: 29.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.4096, allocations: 326.5 kB / 0.5248 GB, free: 28.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.4104, allocations: 0.5096 MB / 0.5253 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/0.4111, allocations: 276.2 kB / 0.5256 GB, free: 28.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4112, allocations: 346.6 kB / 0.5259 GB, free: 28.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4128, allocations: 0.8708 MB / 0.5268 GB, free: 28.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.4143, allocations: 0.9931 MB / 0.5277 GB, free: 27.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.4172, allocations: 1.962 MB / 0.5296 GB, free: 26.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4172, allocations: 7.781 kB / 0.5296 GB, free: 26.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01034/0.4276, allocations: 3.749 MB / 0.5333 GB, free: 25.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.4276, allocations: 5.219 kB / 0.5333 GB, free: 25.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4276, allocations: 0 / 0.5333 GB, free: 25.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.4382, allocations: 3.558 MB / 0.5368 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/0.4391, allocations: 230.8 kB / 0.537 GB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/0.4583, allocations: 11.33 MB / 0.5481 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4597, allocations: 137.8 kB / 0.5482 GB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4598, allocations: 60.66 kB / 0.5483 GB, free: 16.88 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 (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005079/0.4603, allocations: 253.7 kB / 0.5485 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.4606, allocations: 111.3 kB / 0.5486 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/0.4693, allocations: 3.733 MB / 0.5523 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.4693, allocations: 18.19 kB / 0.5523 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4693, allocations: 0 / 0.5523 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/0.4693, allocations: 7.969 kB / 0.5523 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.4797, allocations: 5.22 MB / 0.5574 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.4797, allocations: 4 kB / 0.5574 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.4803, allocations: 175.7 kB / 0.5575 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008989/0.4893, allocations: 2.732 MB / 0.5602 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.4895, allocations: 32 kB / 0.5602 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/0.5108, allocations: 11.15 MB / 0.5711 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5108, allocations: 2.5 kB / 0.5711 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009957/0.5208, allocations: 3.599 MB / 0.5747 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.5211, allocations: 130.8 kB / 0.5748 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.5213, allocations: 33.42 kB / 0.5748 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/0.5223, allocations: 91.92 kB / 0.5749 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/0.5227, allocations: 131 kB / 0.575 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5228, allocations: 44 kB / 0.5751 GB, free: 5.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006327/0.5234, allocations: 427 kB / 0.5755 GB, free: 4.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5234, allocations: 4 kB / 0.5755 GB, free: 4.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001413/0.5249, allocations: 0.5348 MB / 0.576 GB, free: 4.336 MB / 398.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01048/0.5353, allocations: 4.21 MB / 0.5801 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007946/0.5433, allocations: 3.02 MB / 0.5831 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.5433, allocations: 8.594 kB / 0.5831 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006236/0.5495, allocations: 2 MB / 0.585 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5507, allocations: 141.1 kB / 0.5852 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.582, allocations: 14.01 MB / 0.5988 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.5828, allocations: 1.073 MB / 0.5999 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.5833, allocations: 151.5 kB / 0.6 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.5839, allocations: 399.3 kB / 0.6004 GB, free: 11.17 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5839, allocations: 0 / 0.6004 GB, free: 11.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.6907, allocations: 47.54 MB / 0.6468 GB, free: 11.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.18, allocations: 6.75 kB / 0.6468 GB, free: 11.84 MB / 478.1 MB " [Timeout remaining time 644] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.085547839058563] Failed to read output from testmodel.py, exit status != 0: 16.318650962086394 16.3429295 16.198281412 Calling exit ...