Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.0008474/0.0008474, allocations: 80.53 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.0008649/0.0008649, allocations: 173.9 kB / 23.25 MB, free: 1.316 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.9384/0.9384, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.02349/0.02349, allocations: 4.479 MB / 264.5 MB, free: 8.758 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.819e-05, allocations: 6.281 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001921/0.001939, allocations: 1.119 MB / 390.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.003669, allocations: 1.485 MB / 392.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.003744, allocations: 4 kB / 392.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.004099, allocations: 107.3 kB / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.004338, allocations: 75.45 kB / 392.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.005513, allocations: 0.8128 MB / 393.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.005771, allocations: 163.1 kB / 393.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.005902, allocations: 33.73 kB / 393.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.006005, allocations: 87.8 kB / 393.5 MB, free: 3.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.006133, allocations: 67.8 kB / 393.6 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.006157, allocations: 12 kB / 393.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.006518, allocations: 203.6 kB / 393.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.006552, allocations: 31.84 kB / 393.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.00661, allocations: 47.84 kB / 393.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.007118, allocations: 335 kB / 394.2 MB, free: 2.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00712, allocations: 0 / 394.2 MB, free: 2.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.007122, allocations: 4 kB / 394.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.007126, allocations: 0 / 394.2 MB, free: 2.816 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001361/0.008487, allocations: 0.5676 MB / 394.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.008526, allocations: 8.031 kB / 394.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.008571, allocations: 38.75 kB / 394.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.008616, allocations: 16.84 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.008859, allocations: 177.5 kB / 395 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.008875, allocations: 12.61 kB / 395 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.008898, allocations: 12.38 kB / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.009203, allocations: 264.4 kB / 395.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.009213, allocations: 192 / 395.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.009231, allocations: 4.375 kB / 395.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.009238, allocations: 8.125 kB / 395.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.00947, allocations: 159.9 kB / 395.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.0103, allocations: 0.5151 MB / 395.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.01073, allocations: 202.4 kB / 396.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.01085, allocations: 80.84 kB / 396.2 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.01089, allocations: 4 kB / 396.2 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01091, allocations: 38.55 kB / 396.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.01091, allocations: 0 / 396.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0013/0.01221, allocations: 0.4895 MB / 396.7 MB, free: 80 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.01225, allocations: 55.39 kB / 396.8 MB, free: 12 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.01241, allocations: 163.3 kB / 397 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01243, allocations: 29.7 kB / 397 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.01249, allocations: 116.4 kB / 397.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.01254, allocations: 59.48 kB / 397.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.01261, allocations: 49.56 kB / 397.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.0127, allocations: 330.8 kB / 397.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.01284, allocations: 91.97 kB / 397.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.01298, allocations: 99.02 kB / 397.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.01327, allocations: 208.8 kB / 397.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01327, allocations: 0 / 397.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001034/0.01431, allocations: 380.2 kB / 398.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01432, allocations: 8 kB / 398.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01433, allocations: 7.938 kB / 398.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.01483, allocations: 136.7 kB / 398.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.795e-05/0.01493, allocations: 27.98 kB / 398.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.01696, allocations: 1.901 MB / 400.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01706, allocations: 11.89 kB / 400.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.01708, allocations: 8 kB / 400.4 MB, free: 12.27 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.01718, allocations: 133.8 kB / 400.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.01722, allocations: 19.84 kB / 400.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.01789, allocations: 357.6 kB / 400.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01789, allocations: 7.984 kB / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01789, allocations: 0 / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.0179, allocations: 0 / 400.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.01834, allocations: 236.5 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01835, allocations: 3.938 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.0184, allocations: 19.98 kB / 401.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.01883, allocations: 140.7 kB / 401.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.01884, allocations: 8 kB / 401.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.02068, allocations: 1.886 MB / 403.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.02068, allocations: 3.938 kB / 403.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.02118, allocations: 424 kB / 403.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.02121, allocations: 15.89 kB / 403.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.02122, allocations: 8 kB / 403.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.02131, allocations: 11.98 kB / 403.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.02134, allocations: 11.92 kB / 403.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.02135, allocations: 4 kB / 403.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.02142, allocations: 134.3 kB / 403.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02142, allocations: 0 / 403.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.02166, allocations: 63.94 kB / 403.8 MB, free: 8.613 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006908/0.02235, allocations: 0.9732 MB / 404.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.02284, allocations: 366.3 kB / 405.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02284, allocations: 0 / 405.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.02308, allocations: 254.5 kB / 405.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.02329, allocations: 23.92 kB / 405.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.02546, allocations: 2.368 MB / 407.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.02555, allocations: 109.9 kB / 407.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.0256, allocations: 21.47 kB / 407.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.02566, allocations: 44.48 kB / 408 MB, free: 4.309 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02566, allocations: 0 / 408 MB, free: 4.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/0.1785, allocations: 6.314 MB / 414.3 MB, free: 33.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.042, allocations: 11.19 kB / 414.3 MB, free: 33.36 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad_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_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.908862504176795] Failed to read output from testmodel.py, exit status != 0: 8.131431858986616 8.141900343 8.132780358 Calling exit ...