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.001623/0.001623, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002035/0.002035, allocations: 216.9 kB / 23.82 MB, free: 4.48 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.522/1.522, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.03852/0.03852, allocations: 6.126 MB / 320.1 MB, free: 12.74 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 47.92 kB / 445.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 55.03 MB / 0.4885 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006651/0.1263, allocations: 4.926 MB / 0.4933 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.131, allocations: 2.295 MB / 0.4956 GB, free: 6.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.1316, allocations: 20 kB / 0.4956 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.1324, allocations: 313.8 kB / 0.4959 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.1339, allocations: 0.5861 MB / 0.4965 GB, free: 5.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.1368, allocations: 1.347 MB / 0.4978 GB, free: 4.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.1385, allocations: 1.264 MB / 0.499 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.139, allocations: 281.6 kB / 0.4993 GB, free: 2.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.1396, allocations: 0.5448 MB / 0.4998 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008944/0.1405, allocations: 0.6886 MB / 0.5005 GB, free: 1.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.1407, allocations: 104 kB / 0.5006 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.1415, allocations: 343.8 kB / 0.5009 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.1417, allocations: 266.9 kB / 0.5012 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.1423, allocations: 0.4898 MB / 0.5016 GB, free: 444 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1442, allocations: 1.416 MB / 0.503 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1442, allocations: 0 / 0.503 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1442, allocations: 0 / 0.503 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1442, allocations: 3.938 kB / 0.503 GB, free: 15.01 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.01335/0.1575, allocations: 3.105 MB / 0.5061 GB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1576, allocations: 8.031 kB / 0.5061 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.181e-05/0.1576, allocations: 22.19 kB / 0.5061 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.1578, allocations: 139.2 kB / 0.5062 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/0.1581, allocations: 132.1 kB / 0.5063 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1592, allocations: 0.6156 MB / 0.5069 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.1593, allocations: 70.38 kB / 0.507 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.1595, allocations: 96.38 kB / 0.5071 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.1622, allocations: 2.101 MB / 0.5092 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1622, allocations: 0 / 0.5092 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.1624, allocations: 40 kB / 0.5092 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1624, allocations: 24 kB / 0.5092 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.1646, allocations: 1.327 MB / 0.5105 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006512/0.1711, allocations: 3.069 MB / 0.5135 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.1737, allocations: 1.671 MB / 0.5151 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.175, allocations: 0.8481 MB / 0.516 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1752, allocations: 25.3 kB / 0.516 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.46e-05/0.1752, allocations: 56.11 kB / 0.5161 GB, free: 1.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 4.218e-06/0.1752, allocations: 0 / 0.5161 GB, free: 1.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2351/0.4104, allocations: 6.927 MB / 0.5228 GB, free: 29.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4105, allocations: 119.6 kB / 0.5229 GB, free: 29.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.4116, allocations: 0.6256 MB / 0.5235 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003377/0.4119, allocations: 67.3 kB / 0.5236 GB, free: 29.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.4122, allocations: 330.1 kB / 0.5239 GB, free: 29.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.4126, allocations: 0.5063 MB / 0.5244 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005631/0.4132, allocations: 279.6 kB / 0.5247 GB, free: 28.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.4133, allocations: 345.6 kB / 0.525 GB, free: 28.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.4146, allocations: 0.8692 MB / 0.5259 GB, free: 28.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4161, allocations: 1.04 MB / 0.5269 GB, free: 28.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.4188, allocations: 1.966 MB / 0.5288 GB, free: 27.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.4188, allocations: 1.375 kB / 0.5288 GB, free: 27.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01066/0.4294, allocations: 3.753 MB / 0.5325 GB, free: 25.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4295, allocations: 13.58 kB / 0.5325 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4295, allocations: 0 / 0.5325 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.4413, allocations: 3.545 MB / 0.5359 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.4423, allocations: 226.6 kB / 0.5362 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.4622, allocations: 10.99 MB / 0.5469 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4635, allocations: 147.8 kB / 0.547 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.4636, allocations: 50.77 kB / 0.5471 GB, free: 18.23 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.0004527/0.4641, allocations: 261.7 kB / 0.5473 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4643, allocations: 111.3 kB / 0.5474 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00908/0.4733, allocations: 3.717 MB / 0.5511 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4733, allocations: 23.94 kB / 0.5511 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4734, allocations: 0 / 0.5511 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.4734, allocations: 7.969 kB / 0.5511 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.4836, allocations: 4.868 MB / 0.5558 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4836, allocations: 0 / 0.5558 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.4841, allocations: 182.2 kB / 0.556 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009911/0.494, allocations: 2.722 MB / 0.5587 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.4943, allocations: 35.98 kB / 0.5587 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02064/0.515, allocations: 10.81 MB / 0.5693 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.515, allocations: 4 kB / 0.5693 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.5256, allocations: 3.602 MB / 0.5728 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.5259, allocations: 122.9 kB / 0.5729 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.5262, allocations: 31.94 kB / 0.5729 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.5274, allocations: 91.58 kB / 0.573 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005548/0.5279, allocations: 134.4 kB / 0.5732 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.5281, allocations: 51.98 kB / 0.5732 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007208/0.5288, allocations: 427 kB / 0.5736 GB, free: 6.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5288, allocations: 0 / 0.5736 GB, free: 6.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00167/0.5305, allocations: 0.5323 MB / 0.5741 GB, free: 6.379 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.01094/0.5414, allocations: 4.203 MB / 0.5782 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008042/0.5494, allocations: 3.037 MB / 0.5812 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.5494, allocations: 0.6562 kB / 0.5812 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006037/0.5555, allocations: 1.997 MB / 0.5832 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5565, allocations: 147.4 kB / 0.5833 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/0.589, allocations: 14 MB / 0.597 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.5896, allocations: 491.8 kB / 0.5974 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.5902, allocations: 151.5 kB / 0.5976 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.5908, allocations: 399.3 kB / 0.598 GB, free: 13.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5908, allocations: 0 / 0.598 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08531/0.6761, allocations: 45.44 MB / 0.6423 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/16.83, allocations: 11.94 kB / 0.6423 GB, free: 0.6836 MB / 462.1 MB " [Timeout remaining time 643] (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.700070749036968] Failed to read output from testmodel.py, exit status != 0: 17.018961737048812 17.044539246 16.895687864 Calling exit ...