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.001295/0.001295, allocations: 72.55 kB / 19.96 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.00185/0.00185, allocations: 173.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.9592/0.9592, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.02628/0.02628, allocations: 4.471 MB / 264.4 MB, free: 8.777 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 1.923e-06/1.923e-06, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.231e-05, allocations: 2.281 kB / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.002895/0.002917, allocations: 3.266 MB / 392.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.005418, allocations: 1.929 MB / 394.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.005776, allocations: 12 kB / 394.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.006268, allocations: 226.4 kB / 395.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007747/0.007042, allocations: 393.2 kB / 395.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.009042, allocations: 1.213 MB / 396.6 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.009994, allocations: 0.7966 MB / 397.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.01026, allocations: 158 kB / 397.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.01074, allocations: 474.8 kB / 398.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.01109, allocations: 319 kB / 398.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.01117, allocations: 60 kB / 398.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.01168, allocations: 291.6 kB / 398.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.01177, allocations: 159.3 kB / 398.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.01195, allocations: 263.3 kB / 399.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.01289, allocations: 0.9735 MB / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01289, allocations: 0 / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0129, allocations: 0 / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.01291, 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.005127/0.01803, allocations: 2.068 MB / 402.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.0181, allocations: 8.031 kB / 402.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.01821, allocations: 90.7 kB / 402.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01836, allocations: 84.47 kB / 402.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.01888, allocations: 419.5 kB / 402.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.01891, allocations: 45.38 kB / 402.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.01898, allocations: 60.38 kB / 402.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.02041, allocations: 1.278 MB / 404.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.02042, allocations: 8.125 kB / 404.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.02048, allocations: 28.31 kB / 404.2 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.02049, allocations: 16.12 kB / 404.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.02137, allocations: 0.8044 MB / 405 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.02393, allocations: 1.954 MB / 407 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.02499, allocations: 0.9654 MB / 407.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.02552, allocations: 0.5114 MB / 408.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.334e-05/0.0256, allocations: 20.98 kB / 408.4 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.02564, allocations: 43.56 kB / 408.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.02564, allocations: 0 / 408.5 MB, free: 4.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.007881/0.03352, allocations: 3.858 MB / 412.3 MB, free: 372 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.03359, allocations: 115.8 kB / 412.5 MB, free: 232 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1585/0.192, allocations: 422.2 kB / 412.9 MB, free: 33.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.1922, allocations: 46.98 kB / 412.9 MB, free: 33.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1924, allocations: 231.7 kB / 413.1 MB, free: 33.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1925, allocations: 310.5 kB / 413.4 MB, free: 33.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.1928, allocations: 178.5 kB / 413.6 MB, free: 33.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.1928, allocations: 374.1 kB / 414 MB, free: 33.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/0.1934, allocations: 0.5469 MB / 414.5 MB, free: 32.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.194, allocations: 0.674 MB / 415.2 MB, free: 32.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.1952, allocations: 1.225 MB / 416.4 MB, free: 31.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1952, allocations: 0 / 416.4 MB, free: 31.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003722/0.1989, allocations: 2.351 MB / 418.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1989, allocations: 5.5 kB / 418.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1989, allocations: 0 / 418.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.2026, allocations: 1.694 MB / 420.5 MB, free: 30.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.203, allocations: 142.9 kB / 420.6 MB, free: 30.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/0.2117, allocations: 7.032 MB / 427.7 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.2123, allocations: 98.61 kB / 427.8 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.2124, allocations: 33.88 kB / 427.8 MB, free: 26.53 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.0002748/0.2126, allocations: 201.9 kB / 428 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.2127, allocations: 74.19 kB / 428.1 MB, free: 26.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.2164, allocations: 2.286 MB / 430.3 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2164, allocations: 13.38 kB / 430.4 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2164, allocations: 0.6875 kB / 430.4 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.2164, allocations: 6.172 kB / 430.4 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.2205, allocations: 3.042 MB / 433.4 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2205, allocations: 0 / 433.4 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.2207, allocations: 116.3 kB / 433.5 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/0.2237, allocations: 1.497 MB / 435 MB, free: 23.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.2237, allocations: 23.91 kB / 435 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.2304, allocations: 6.925 MB / 442 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2304, allocations: 0 / 442 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.2336, allocations: 2.25 MB / 444.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2337, allocations: 80.53 kB / 444.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.2338, allocations: 19.95 kB / 444.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2341, allocations: 51.95 kB / 444.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.2343, allocations: 80.84 kB / 444.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.2343, allocations: 31.94 kB / 444.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.2346, allocations: 295.1 kB / 444.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2346, allocations: 0 / 444.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009381/0.2355, allocations: 331.9 kB / 445.1 MB, free: 13.73 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.003273/0.2388, allocations: 2.82 MB / 447.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002658/0.2414, allocations: 1.862 MB / 449.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2414, allocations: 5.219 kB / 449.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.2431, allocations: 1.223 MB / 451 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.2436, allocations: 95.7 kB / 451.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/0.2534, allocations: 9.018 MB / 460.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2537, allocations: 324.6 kB / 460.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.2539, allocations: 96.78 kB / 460.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.2542, allocations: 240.4 kB / 460.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2542, allocations: 4 kB / 460.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/0.3003, allocations: 28.8 MB / 489.6 MB, free: 1.328 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.564, allocations: 2.75 kB / 489.6 MB, free: 1.328 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.533551629632711] Failed to read output from testmodel.py, exit status != 0: 8.668136936612427 8.679993673 8.664271576 Calling exit ...