Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.0009077/0.0009077, allocations: 80.44 kB / 19.97 MB, free: 4.598 MB / 18.57 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.001015/0.001015, allocations: 177.9 kB / 23.25 MB, free: 1.309 MB / 18.57 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 0.9805/0.9805, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02447/0.02447, allocations: 4.481 MB / 264.5 MB, free: 8.762 MB / 250.7 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.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.543e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003992/0.004017, allocations: 3.266 MB / 392.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.00648, allocations: 1.937 MB / 394.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.006739, allocations: 12 kB / 394.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.007199, allocations: 218.5 kB / 395 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.00785, allocations: 389.2 kB / 395.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.009179, allocations: 1.228 MB / 396.7 MB, free: 344 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.009854, allocations: 0.7927 MB / 397.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.0101, allocations: 162 kB / 397.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.01043, allocations: 466.9 kB / 398.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.01074, allocations: 319.1 kB / 398.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.0108, allocations: 60 kB / 398.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.01126, allocations: 295.5 kB / 398.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.01135, allocations: 159.3 kB / 398.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.01152, allocations: 259.3 kB / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007995/0.01232, allocations: 0.9657 MB / 400.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01233, allocations: 4 kB / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01233, allocations: 0 / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.01234, allocations: 0 / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004455/0.01679, allocations: 2.072 MB / 402.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.457e-05/0.01687, allocations: 8.031 kB / 402.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.01699, allocations: 94.7 kB / 402.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01715, allocations: 84.47 kB / 402.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.01773, allocations: 423.5 kB / 402.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.01776, allocations: 45.38 kB / 402.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.01783, allocations: 60.38 kB / 402.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.01896, allocations: 1.281 MB / 404.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.01897, allocations: 4.125 kB / 404.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.01902, allocations: 24.38 kB / 404.2 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.01903, allocations: 20.12 kB / 404.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.0199, allocations: 0.8044 MB / 405 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.02277, allocations: 1.95 MB / 407 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.02399, allocations: 0.9694 MB / 407.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.02449, allocations: 0.5114 MB / 408.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/0.02458, allocations: 16.98 kB / 408.4 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.02461, allocations: 43.56 kB / 408.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/0.02461, allocations: 0 / 408.5 MB, free: 4.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.008202/0.03281, allocations: 3.858 MB / 412.3 MB, free: 368 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.0329, allocations: 115.8 kB / 412.5 MB, free: 228 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1665/0.1994, allocations: 427.1 kB / 412.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.1996, allocations: 45.48 kB / 412.9 MB, free: 33.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1997, allocations: 235 kB / 413.2 MB, free: 33.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.1999, allocations: 309.6 kB / 413.5 MB, free: 33.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2001, allocations: 178.2 kB / 413.6 MB, free: 33.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.2002, allocations: 374.3 kB / 414 MB, free: 33.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.2007, allocations: 0.5441 MB / 414.5 MB, free: 32.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.2013, allocations: 0.6772 MB / 415.2 MB, free: 32.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2025, allocations: 1.221 MB / 416.4 MB, free: 31.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2025, allocations: 0 / 416.4 MB, free: 31.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003745/0.2062, allocations: 2.347 MB / 418.8 MB, free: 31.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2062, allocations: 11.19 kB / 418.8 MB, free: 31.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2062, allocations: 1.547 kB / 418.8 MB, free: 31.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.2099, allocations: 1.689 MB / 420.5 MB, free: 30.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.2102, allocations: 147.4 kB / 420.6 MB, free: 30.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007971/0.2182, allocations: 7.036 MB / 427.7 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.2186, allocations: 91.78 kB / 427.8 MB, free: 26.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.2186, allocations: 33.41 kB / 427.8 MB, free: 26.54 MB / 330.7 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2189, allocations: 205.7 kB / 428 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.219, allocations: 71.14 kB / 428.1 MB, free: 26.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/0.2225, allocations: 2.275 MB / 430.3 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.2225, allocations: 18.23 kB / 430.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2225, allocations: 1.312 kB / 430.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.2225, allocations: 9.203 kB / 430.4 MB, free: 25.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.2263, allocations: 3.039 MB / 433.4 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2263, allocations: 1.219 kB / 433.4 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.2265, allocations: 112 kB / 433.5 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003081/0.2296, allocations: 1.505 MB / 435 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.2297, allocations: 19.91 kB / 435 MB, free: 23.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007342/0.237, allocations: 6.924 MB / 442 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.237, allocations: 3.938 kB / 442 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.24, allocations: 2.246 MB / 444.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.2401, allocations: 82.22 kB / 444.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.2401, allocations: 27.67 kB / 444.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.2404, allocations: 51.97 kB / 444.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2405, allocations: 80.83 kB / 444.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.2406, allocations: 32 kB / 444.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.2408, allocations: 287.1 kB / 444.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2408, allocations: 0 / 444.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007564/0.2415, allocations: 331.9 kB / 445.1 MB, free: 13.72 MB / 330.7 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003124/0.2447, allocations: 2.828 MB / 447.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.2469, allocations: 1.858 MB / 449.8 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2469, allocations: 9.219 kB / 449.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.2488, allocations: 1.22 MB / 451 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.2493, allocations: 83.84 kB / 451.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.2612, allocations: 9.041 MB / 460.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2615, allocations: 320.6 kB / 460.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.2617, allocations: 92.84 kB / 460.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.2619, allocations: 236.4 kB / 460.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2619, allocations: 0 / 460.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.3007, allocations: 28.79 MB / 489.5 MB, free: 1.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.554, allocations: 12.05 kB / 489.6 MB, free: 1.312 MB / 362.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.41669109556824] Failed to read output from testmodel.py, exit status != 0: 8.65448449831456 8.662167831 8.648069637 Calling exit ...