Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.0008461/0.0008461, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.0008695/0.0008695, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9374/0.9374, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.02236/0.02236, allocations: 4.483 MB / 264.5 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.195e-05, allocations: 8.891 kB / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.001807/0.001829, allocations: 1.411 MB / 391 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.003709, allocations: 1.555 MB / 392.6 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.003791, allocations: 4 kB / 392.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.004106, allocations: 127.2 kB / 392.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.004367, allocations: 107.2 kB / 392.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.005443, allocations: 0.9101 MB / 393.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.005752, allocations: 254.6 kB / 394 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.005893, allocations: 52.42 kB / 394 MB, free: 3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.006018, allocations: 147.7 kB / 394.2 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.006175, allocations: 103.7 kB / 394.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.006206, allocations: 20 kB / 394.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.006569, allocations: 235.5 kB / 394.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.006604, allocations: 43.83 kB / 394.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.006668, allocations: 83.75 kB / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.007125, allocations: 446.7 kB / 395.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.007131, allocations: 7.984 kB / 395.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.007132, allocations: 0 / 395.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007138, allocations: 0 / 395.1 MB, free: 1.934 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001829/0.008967, allocations: 0.8282 MB / 395.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.009013, allocations: 16.03 kB / 395.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.009066, allocations: 50.73 kB / 396 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.009125, allocations: 24.8 kB / 396 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.009372, allocations: 201.4 kB / 396.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.009389, allocations: 16.38 kB / 396.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.009416, allocations: 16.38 kB / 396.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.009822, allocations: 440.2 kB / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.009831, allocations: 192 / 396.7 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.009855, allocations: 8.375 kB / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.009865, allocations: 12.06 kB / 396.7 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.01019, allocations: 291.7 kB / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01127, allocations: 0.7257 MB / 397.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.01167, allocations: 334.4 kB / 398 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.01184, allocations: 164.8 kB / 398.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.01189, allocations: 8 kB / 398.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.01192, allocations: 34.56 kB / 398.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.01192, allocations: 0 / 398.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.004194/0.01612, allocations: 1.485 MB / 399.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.01616, allocations: 63.34 kB / 399.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.01635, allocations: 179 kB / 399.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.01639, allocations: 29.7 kB / 400 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.01646, allocations: 121 kB / 400.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.01654, allocations: 111 kB / 400.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.01664, allocations: 61.69 kB / 400.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01676, allocations: 330.8 kB / 400.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.01697, allocations: 179.6 kB / 400.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.01717, allocations: 180.3 kB / 400.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.01763, allocations: 389.2 kB / 401.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01764, allocations: 0 / 401.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002519/0.02016, allocations: 1.001 MB / 402.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.02018, allocations: 11.94 kB / 402.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.02019, allocations: 8 kB / 402.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/0.02279, allocations: 0.7148 MB / 403 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.02294, allocations: 43.97 kB / 403.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/0.0275, allocations: 3.46 MB / 406.5 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.02767, allocations: 27.78 kB / 406.6 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.02769, allocations: 16 kB / 406.6 MB, free: 6.062 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 (25): * Single equations (assignments): 24 * 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 {(8,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.02785, allocations: 133.8 kB / 406.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.02789, allocations: 23.86 kB / 406.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.03036, allocations: 1.025 MB / 407.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.03036, allocations: 4 kB / 407.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.03037, allocations: 0 / 407.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.03038, allocations: 3.984 kB / 407.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.03074, allocations: 328.5 kB / 408.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.03074, allocations: 0 / 408.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.03082, allocations: 35.98 kB / 408.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/0.03327, allocations: 0.7303 MB / 408.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.0333, allocations: 8 kB / 408.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/0.03741, allocations: 3.392 MB / 412.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.03741, allocations: 7.875 kB / 412.3 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1543/0.1917, allocations: 1.054 MB / 413.3 MB, free: 33.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1918, allocations: 27.89 kB / 413.4 MB, free: 33.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1918, allocations: 15.25 kB / 413.4 MB, free: 33.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1919, allocations: 18.23 kB / 413.4 MB, free: 33.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.1921, allocations: 31.41 kB / 413.4 MB, free: 33.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.1921, allocations: 11.38 kB / 413.4 MB, free: 33.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1922, allocations: 125.1 kB / 413.5 MB, free: 32.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 1.25 kB / 413.5 MB, free: 32.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005132/0.1928, allocations: 119.3 kB / 413.7 MB, free: 32.98 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 (23): * Single equations (assignments): 22 * 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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002855/0.1956, allocations: 1.621 MB / 415.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.1968, allocations: 0.7087 MB / 416 MB, free: 32.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1968, allocations: 0 / 416 MB, free: 32.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.1975, allocations: 0.4986 MB / 416.5 MB, free: 32.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1978, allocations: 33.22 kB / 416.5 MB, free: 32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.2044, allocations: 4.017 MB / 420.5 MB, free: 30.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2045, allocations: 143.1 kB / 420.7 MB, free: 29.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.2046, allocations: 33.61 kB / 420.7 MB, free: 29.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.2047, allocations: 75.52 kB / 420.8 MB, free: 29.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2047, allocations: 0 / 420.8 MB, free: 29.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.2319, allocations: 12.57 MB / 433.4 MB, free: 25.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.14, allocations: 1.5 kB / 433.4 MB, free: 25.02 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad_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_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.005408762954175] Failed to read output from testmodel.py, exit status != 0: 8.23495212662965 8.243817955 8.234514525 Calling exit ...