Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.2 kB / 17.12 MB, free: 5.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 195.7 kB / 20.07 MB, free: 2.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 245.8 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1703/0.1703, allocations: 8.082 MB / 306 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.89 kB / 422.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2448, allocations: 51.52 MB / 474.2 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002818/0.2477, allocations: 2.25 MB / 476.5 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.2496, allocations: 1.673 MB / 478.1 MB, free: 18.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2497, allocations: 6.219 kB / 478.1 MB, free: 18.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.2502, allocations: 149.5 kB / 478.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.2506, allocations: 195.1 kB / 478.5 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.2521, allocations: 0.9602 MB / 479.4 MB, free: 17.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.2525, allocations: 420.7 kB / 479.9 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2527, allocations: 141 kB / 480 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2529, allocations: 170.3 kB / 480.2 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2531, allocations: 221.2 kB / 480.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.2532, allocations: 32 kB / 480.4 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.2536, allocations: 224 kB / 480.6 MB, free: 17.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.2537, allocations: 82.92 kB / 480.7 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2538, allocations: 200.5 kB / 480.9 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.2544, allocations: 0.541 MB / 481.4 MB, free: 16.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2544, allocations: 4 kB / 481.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2544, allocations: 1.375 kB / 481.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2544, allocations: 0 / 481.4 MB, free: 16.58 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003366/0.2578, allocations: 1.161 MB / 482.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2578, allocations: 12.86 kB / 482.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.2579, allocations: 60.98 kB / 482.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.258, allocations: 50.97 kB / 482.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.2584, allocations: 333.5 kB / 483.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.2584, allocations: 21.44 kB / 483.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2584, allocations: 32.53 kB / 483.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.259, allocations: 414.5 kB / 483.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.259, allocations: 3.938 kB / 483.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.2591, allocations: 19.53 kB / 483.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2591, allocations: 10.44 kB / 483.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2596, allocations: 409.5 kB / 483.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2613, allocations: 1.535 MB / 485.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2624, allocations: 0.5644 MB / 486 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2627, allocations: 281.7 kB / 486.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.2628, allocations: 6.219 kB / 486.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2628, allocations: 38.94 kB / 486.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.352e-06/0.2628, allocations: 0 / 486.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004167/0.267, allocations: 1.653 MB / 488 MB, free: 11.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.267, allocations: 56.12 kB / 488.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.2673, allocations: 269.6 kB / 488.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.2674, allocations: 36.8 kB / 488.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.2674, allocations: 178.1 kB / 488.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.2675, allocations: 160.7 kB / 488.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.2677, allocations: 95.23 kB / 488.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.2677, allocations: 349.4 kB / 489.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.2681, allocations: 257.1 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.2684, allocations: 274.2 kB / 489.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.2692, allocations: 0.5803 MB / 490.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2692, allocations: 3.938 kB / 490.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002074/0.2712, allocations: 1.02 MB / 491.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2713, allocations: 6 kB / 491.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2713, allocations: 3.984 kB / 491.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.2729, allocations: 424.7 kB / 491.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.2732, allocations: 75.27 kB / 491.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.2787, allocations: 6.111 MB / 497.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.2792, allocations: 45.42 kB / 497.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.2792, allocations: 23.08 kB / 497.9 MB, free: 3.852 MB / 350.1 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.2794, allocations: 158.2 kB / 498.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.2795, allocations: 41.64 kB / 498.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.2815, allocations: 0.9993 MB / 499.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2815, allocations: 4 kB / 499.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2815, allocations: 0 / 499.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2816, allocations: 3.984 kB / 499.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.282, allocations: 0.5638 MB / 499.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.282, allocations: 4 kB / 499.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.2822, allocations: 55.91 kB / 499.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.2837, allocations: 426.1 kB / 0.4885 GB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2838, allocations: 12 kB / 0.4885 GB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/0.2906, allocations: 6.034 MB / 0.4944 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2906, allocations: 4.375 kB / 0.4944 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2931, allocations: 1.014 MB / 0.4954 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2933, allocations: 120.8 kB / 0.4955 GB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.2934, allocations: 23.94 kB / 0.4955 GB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.2938, allocations: 27.97 kB / 0.4955 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2939, allocations: 36.39 kB / 0.4956 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.294, allocations: 15.98 kB / 0.4956 GB, free: 9.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.2943, allocations: 202 kB / 0.4958 GB, free: 9.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2943, allocations: 0 / 0.4958 GB, free: 9.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.295, allocations: 167.9 kB / 0.4959 GB, free: 9.504 MB / 366.1 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002715/0.2977, allocations: 1.593 MB / 0.4975 GB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.2999, allocations: 1.087 MB / 0.4985 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2999, allocations: 0 / 0.4985 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.3013, allocations: 0.7678 MB / 0.4993 GB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3018, allocations: 50.42 kB / 0.4993 GB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.31, allocations: 4.709 MB / 0.5039 GB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.3104, allocations: 0.7974 MB / 0.5047 GB, free: 268 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.3106, allocations: 54.91 kB / 0.5048 GB, free: 216 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3108, allocations: 115.4 kB / 0.5049 GB, free: 100 kB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3108, allocations: 0 / 0.5049 GB, free: 100 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.3574, allocations: 14.43 MB / 0.519 GB, free: 1.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 7.688 kB / 0.519 GB, free: 1.828 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads_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_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.220333784003742] Failed to read output from testmodel.py, exit status != 0: 11.833115485031158 11.854796615 11.596514947 Calling exit ...