Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.000809/0.000809, allocations: 76.45 kB / 19.97 MB, free: 4.59 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.000828/0.000828, allocations: 173.9 kB / 23.24 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.8766/0.8766, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.02426/0.02426, allocations: 4.474 MB / 264.5 MB, free: 8.754 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.987e-05, allocations: 2.281 kB / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002236/0.002256, allocations: 1.394 MB / 391 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.003805, allocations: 1.536 MB / 392.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.003876, allocations: 4 kB / 392.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.004174, allocations: 115.2 kB / 392.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.004388, allocations: 119.1 kB / 392.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.005265, allocations: 0.8439 MB / 393.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.005516, allocations: 238.7 kB / 393.8 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.005637, allocations: 52.42 kB / 393.9 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.005749, allocations: 143.6 kB / 394 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.005875, allocations: 95.7 kB / 394.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.0059, allocations: 16 kB / 394.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.006214, allocations: 203.6 kB / 394.3 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.006247, allocations: 47.83 kB / 394.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.006307, allocations: 79.77 kB / 394.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.006682, allocations: 414.7 kB / 394.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006684, allocations: 0 / 394.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006685, allocations: 0 / 394.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.006691, allocations: 4 kB / 394.9 MB, free: 2.105 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001426/0.008117, allocations: 0.739 MB / 395.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.008155, allocations: 16.03 kB / 395.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.008205, allocations: 50.73 kB / 395.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.008256, allocations: 24.8 kB / 395.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.00848, allocations: 193.4 kB / 395.9 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.008493, allocations: 12.7 kB / 395.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.00852, allocations: 20.38 kB / 395.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.008839, allocations: 367.5 kB / 396.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.008848, allocations: 192 / 396.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.008866, allocations: 4.375 kB / 396.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.008873, allocations: 8.125 kB / 396.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.00913, allocations: 264.4 kB / 396.6 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.01006, allocations: 0.7101 MB / 397.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.01046, allocations: 288.9 kB / 397.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.0106, allocations: 136.8 kB / 397.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.01064, allocations: 4 kB / 397.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01067, allocations: 42.55 kB / 397.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.01067, allocations: 3.984 kB / 397.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001686/0.01236, allocations: 0.8851 MB / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.01239, allocations: 55.41 kB / 398.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01253, allocations: 199.8 kB / 398.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01255, allocations: 33.7 kB / 398.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.01261, allocations: 128.5 kB / 399 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.01266, allocations: 87.27 kB / 399.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.01273, allocations: 61.64 kB / 399.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.01281, allocations: 330.8 kB / 399.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.01297, allocations: 160 kB / 399.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.01313, allocations: 156.5 kB / 399.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.01347, allocations: 359.2 kB / 400.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01347, allocations: 0 / 400.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008596/0.01433, allocations: 0.6305 MB / 400.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.01435, allocations: 7.938 kB / 400.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01435, allocations: 3.938 kB / 400.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.01509, allocations: 324.5 kB / 401.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.0152, allocations: 47.92 kB / 401.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.01767, allocations: 2.617 MB / 403.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01777, allocations: 23.78 kB / 403.8 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.01778, allocations: 8 kB / 403.8 MB, free: 8.832 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.0179, allocations: 142.6 kB / 403.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.01793, allocations: 27.86 kB / 404 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.01885, allocations: 0.6014 MB / 404.6 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.01885, allocations: 4.125 kB / 404.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01886, allocations: 4 kB / 404.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01886, allocations: 0 / 404.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.01909, allocations: 304.4 kB / 404.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01909, allocations: 0 / 404.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.01915, allocations: 32.11 kB / 404.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/0.01984, allocations: 316.5 kB / 405.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.01985, allocations: 4 kB / 405.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.02225, allocations: 2.581 MB / 407.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02225, allocations: 0 / 407.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.02306, allocations: 0.6598 MB / 408.5 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.02308, allocations: 23.77 kB / 408.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.0231, allocations: 8 kB / 408.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.0232, allocations: 8 kB / 408.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.02326, allocations: 23.95 kB / 408.5 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.02327, allocations: 19.98 kB / 408.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.02337, allocations: 143.7 kB / 408.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02337, allocations: 0 / 408.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.02368, allocations: 103.9 kB / 408.8 MB, free: 3.648 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 (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.02474, allocations: 1.217 MB / 410 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.02555, allocations: 0.5997 MB / 410.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.02555, allocations: 0 / 410.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000754/0.02631, allocations: 430.4 kB / 411 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.02654, allocations: 20 kB / 411 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/0.1572, allocations: 3.223 MB / 414.3 MB, free: 31.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.1573, allocations: 134.6 kB / 414.4 MB, free: 31.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.874e-05/0.1574, allocations: 26.52 kB / 414.4 MB, free: 31.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.1575, allocations: 69.03 kB / 414.5 MB, free: 31.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.724e-06/0.1575, allocations: 0 / 414.5 MB, free: 31.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.1804, allocations: 9.03 MB / 423.5 MB, free: 29.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/7.986, allocations: 17.73 kB / 423.5 MB, free: 29.7 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad_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_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.754923968575895] Failed to read output from testmodel.py, exit status != 0: 8.07729939557612 8.086564042 8.078547131 Calling exit ...