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.001312/0.001312, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001459/0.001459, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.54/1.54, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.04235/0.04235, allocations: 6.129 MB / 316.4 MB, free: 1.16 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.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.001513/0.001513, allocations: 50.83 kB / 440 MB, free: 40.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09693, allocations: 54.98 MB / 494.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004988/0.1019, allocations: 5.746 MB / 0.4889 GB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1056, allocations: 2.373 MB / 0.4913 GB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.1064, allocations: 16 kB / 0.4913 GB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.1073, allocations: 317.8 kB / 0.4916 GB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.109, allocations: 0.5822 MB / 0.4922 GB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.1114, allocations: 1.448 MB / 0.4936 GB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.1135, allocations: 1.268 MB / 0.4948 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.114, allocations: 281.1 kB / 0.4951 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007798/0.1147, allocations: 0.5409 MB / 0.4956 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.1157, allocations: 0.6807 MB / 0.4963 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.1158, allocations: 108 kB / 0.4964 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.1167, allocations: 351.8 kB / 0.4967 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.1169, allocations: 262.9 kB / 0.497 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.1176, allocations: 0.5907 MB / 0.4975 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.1195, allocations: 1.412 MB / 0.4989 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1195, allocations: 3.938 kB / 0.4989 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1195, allocations: 0 / 0.4989 GB, free: 10.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.1195, allocations: 0 / 0.4989 GB, free: 10.45 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01364/0.1331, allocations: 3.184 MB / 0.502 GB, free: 7.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1332, allocations: 12.03 kB / 0.502 GB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.193e-05/0.1332, allocations: 22.12 kB / 0.5021 GB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.1334, allocations: 135.2 kB / 0.5022 GB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.1337, allocations: 136.1 kB / 0.5023 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1349, allocations: 0.676 MB / 0.503 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.135, allocations: 70.38 kB / 0.503 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.1351, allocations: 96.38 kB / 0.5031 GB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.1374, allocations: 1.345 MB / 0.5044 GB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1374, allocations: 0 / 0.5044 GB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.1376, allocations: 40 kB / 0.5045 GB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.1376, allocations: 20 kB / 0.5045 GB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.1398, allocations: 1.281 MB / 0.5058 GB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/0.1475, allocations: 4.338 MB / 0.51 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/0.1509, allocations: 2.92 MB / 0.5128 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.1523, allocations: 0.8364 MB / 0.5137 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.1524, allocations: 37.25 kB / 0.5137 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/0.1525, allocations: 56.11 kB / 0.5138 GB, free: 10.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 3.156e-06/0.1525, allocations: 0 / 0.5138 GB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.02981/0.1823, allocations: 6.976 MB / 0.5206 GB, free: 3.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.1824, allocations: 124.1 kB / 0.5207 GB, free: 3.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/0.1834, allocations: 0.6252 MB / 0.5213 GB, free: 2.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.1837, allocations: 65.7 kB / 0.5214 GB, free: 2.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.1839, allocations: 330.8 kB / 0.5217 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005772/0.1845, allocations: 0.5073 MB / 0.5222 GB, free: 1.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.1851, allocations: 275.6 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1852, allocations: 341.9 kB / 0.5228 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.1867, allocations: 0.8552 MB / 0.5236 GB, free: 428 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.1883, allocations: 0.9807 MB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.1915, allocations: 1.943 MB / 0.5264 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1915, allocations: 0 / 0.5264 GB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01058/0.2021, allocations: 3.729 MB / 0.5301 GB, free: 9.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.2021, allocations: 4 kB / 0.5301 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2021, allocations: 0 / 0.5301 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01183/0.2139, allocations: 3.555 MB / 0.5336 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/0.2149, allocations: 227.7 kB / 0.5338 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/0.2393, allocations: 11.42 MB / 0.5449 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2407, allocations: 142.9 kB / 0.5451 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.2409, allocations: 59.92 kB / 0.5451 GB, free: 10.2 MB / 414.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.0005399/0.2414, allocations: 259.4 kB / 0.5454 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.2417, allocations: 111.3 kB / 0.5455 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.2526, allocations: 3.699 MB / 0.5491 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.2526, allocations: 19.94 kB / 0.5491 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2526, allocations: 0 / 0.5491 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/0.2527, allocations: 7.969 kB / 0.5491 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.2653, allocations: 5.215 MB / 0.5542 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.2653, allocations: 0 / 0.5542 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.266, allocations: 179.7 kB / 0.5544 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/0.2772, allocations: 2.727 MB / 0.557 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.2775, allocations: 35.98 kB / 0.5571 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/0.3013, allocations: 11.26 MB / 0.5681 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3013, allocations: 0 / 0.5681 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.3119, allocations: 3.575 MB / 0.5716 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3123, allocations: 208 kB / 0.5718 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.3125, allocations: 24 kB / 0.5718 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.3136, allocations: 99.55 kB / 0.5719 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004959/0.3141, allocations: 122.4 kB / 0.572 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.3142, allocations: 48 kB / 0.572 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006573/0.3149, allocations: 427 kB / 0.5725 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3149, allocations: 0 / 0.5725 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001485/0.3164, allocations: 0.5271 MB / 0.573 GB, free: 13.41 MB / 446.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.01082/0.3272, allocations: 4.193 MB / 0.5771 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008015/0.3352, allocations: 3 MB / 0.58 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.3352, allocations: 8.656 kB / 0.58 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006061/0.3413, allocations: 1.972 MB / 0.5819 GB, free: 4.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3424, allocations: 146.9 kB / 0.5821 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2606/0.603, allocations: 13.91 MB / 0.5957 GB, free: 92.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.6036, allocations: 1.085 MB / 0.5967 GB, free: 91.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005368/0.6041, allocations: 140.5 kB / 0.5968 GB, free: 91.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.6045, allocations: 403.2 kB / 0.5972 GB, free: 91.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6045, allocations: 3.062 kB / 0.5972 GB, free: 91.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07496/0.6795, allocations: 46.15 MB / 0.6423 GB, free: 52.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.69, allocations: 11.81 kB / 0.6423 GB, free: 52.46 MB / 446.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.002118062984664] Failed to read output from testmodel.py, exit status != 0: 15.862492510001175 15.880910017 15.757915568 Calling exit ...