Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001301/0.001301, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001539/0.001539, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1845/0.1845, allocations: 38.53 MB / 352.5 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 59.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3096, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008885/0.3185, allocations: 7.618 MB / 0.5494 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006763/0.3252, allocations: 4.49 MB / 0.5538 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3257, allocations: 17.56 kB / 0.5538 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.3287, allocations: 1.067 MB / 0.5549 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.3319, allocations: 1.21 MB / 0.5561 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.3328, allocations: 321.8 kB / 0.5564 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.3348, allocations: 1.403 MB / 0.5577 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.3357, allocations: 0.5171 MB / 0.5582 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3368, allocations: 0.6392 MB / 0.5589 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.338, allocations: 0.7476 MB / 0.5596 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.3381, allocations: 64 kB / 0.5597 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3404, allocations: 1.376 MB / 0.561 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.3409, allocations: 478.7 kB / 0.5615 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.3414, allocations: 445.9 kB / 0.5619 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.3435, allocations: 1.46 MB / 0.5633 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3435, allocations: 0 / 0.5633 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3435, allocations: 0 / 0.5633 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.3435, allocations: 4 kB / 0.5633 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001682/0.3452, allocations: 1.076 MB / 0.5644 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3452, allocations: 15.98 kB / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.3454, allocations: 127.2 kB / 0.5645 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.3484, allocations: 395.9 kB / 0.5649 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008572/0.3493, allocations: 433.7 kB / 0.5653 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.3493, allocations: 54.36 kB / 0.5653 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3494, allocations: 72.36 kB / 0.5654 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.3513, allocations: 1.183 MB / 0.5666 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.3513, allocations: 4 kB / 0.5666 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.3514, allocations: 24 kB / 0.5666 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.3515, allocations: 73.95 kB / 0.5667 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.3534, allocations: 1.245 MB / 0.5679 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00564/0.3591, allocations: 3.423 MB / 0.5712 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3608, allocations: 0.9874 MB / 0.5722 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/0.3617, allocations: 0.5901 MB / 0.5728 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.3617, allocations: 13 kB / 0.5728 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.3618, allocations: 51.55 kB / 0.5728 GB, free: 4.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.655e-06/0.3618, allocations: 0 / 0.5728 GB, free: 4.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006868/0.3686, allocations: 3.01 MB / 0.5758 GB, free: 1.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.3687, allocations: 90.11 kB / 0.5759 GB, free: 1.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.3692, allocations: 365.6 kB / 0.5762 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.3692, allocations: 41.7 kB / 0.5762 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.3695, allocations: 316.9 kB / 0.5765 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.3698, allocations: 337.1 kB / 0.5769 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.37, allocations: 158.6 kB / 0.577 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3703, allocations: 366.8 kB / 0.5774 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.371, allocations: 465.7 kB / 0.5778 GB, free: 15.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.3718, allocations: 0.5734 MB / 0.5784 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.3735, allocations: 1.113 MB / 0.5795 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3735, allocations: 0 / 0.5795 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002664/0.3762, allocations: 1.47 MB / 0.5809 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.3762, allocations: 10.97 kB / 0.5809 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3763, allocations: 3.984 kB / 0.5809 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3773, allocations: 336.8 kB / 0.5812 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.378, allocations: 179.7 kB / 0.5814 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.3838, allocations: 4.077 MB / 0.5854 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.3843, allocations: 47.95 kB / 0.5854 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.3844, allocations: 35.98 kB / 0.5855 GB, free: 7.473 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005124/0.3849, allocations: 297.6 kB / 0.5857 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.385, allocations: 55.67 kB / 0.5858 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.3878, allocations: 1.551 MB / 0.5873 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.3878, allocations: 16 kB / 0.5873 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3878, allocations: 4 kB / 0.5873 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.3879, allocations: 7.969 kB / 0.5873 GB, free: 5.523 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.3932, allocations: 2.991 MB / 0.5903 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3932, allocations: 0 / 0.5903 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.3939, allocations: 171.7 kB / 0.5904 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/0.3947, allocations: 288.7 kB / 0.5907 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.3948, allocations: 27.98 kB / 0.5907 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005218/0.4, allocations: 3.807 MB / 0.5944 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4, allocations: 7.984 kB / 0.5944 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.4025, allocations: 1.59 MB / 0.596 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.4027, allocations: 67.55 kB / 0.5961 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.4027, allocations: 27.92 kB / 0.5961 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.4032, allocations: 47.91 kB / 0.5961 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4033, allocations: 84.78 kB / 0.5962 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.4034, allocations: 43.92 kB / 0.5963 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.4037, allocations: 255.2 kB / 0.5965 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4037, allocations: 0 / 0.5965 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009262/0.4046, allocations: 300 kB / 0.5968 GB, free: 11.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00284/0.4075, allocations: 2.149 MB / 0.5989 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.4097, allocations: 1.331 MB / 0.6002 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4097, allocations: 4.125 kB / 0.6002 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.4109, allocations: 0.7928 MB / 0.601 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.4116, allocations: 104.9 kB / 0.6011 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.4227, allocations: 7.557 MB / 0.6084 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008353/0.4235, allocations: 1.068 MB / 0.6095 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000443/0.4239, allocations: 180.6 kB / 0.6097 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.4243, allocations: 259.3 kB / 0.6099 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4243, allocations: 0 / 0.6099 GB, free: 13.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/0.4878, allocations: 17.66 MB / 0.6272 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.39, allocations: 14.2 kB / 0.6272 GB, free: 12.17 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.145984041970223] Failed to read output from testmodel.py, exit status != 0: 13.510699303122237 13.536832374 13.187602143 Calling exit ...